public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* help me reduce typing when running gdb
@ 2007-11-28 19:43 Chris Stankevitz
  2007-11-28 19:57 ` ramana.radhakrishnan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Chris Stankevitz @ 2007-11-28 19:43 UTC (permalink / raw)
  To: gdb

Hi, I often perform these steps:

1. bjam
2. gdb ./bin/debug/prog
3. r very long list of parameters that I hate typing
4. [lots of debugger commands like c, n, s, break, etc]
5. up arrow many times to get back to the run command w/parms
6. q
7. vi source.cpp
8. goto 1

Can anyone recommend a way to streamline this process?  Particularly 
Step 3 and Step 5.  In MSVC, steps 1-3 is one keystroke (F5) and step 5 
is two (SHIFT-F5, F5).

Thanks for your help in switching over to gdb!

Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-29 11:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-28 19:43 help me reduce typing when running gdb Chris Stankevitz
2007-11-28 19:57 ` ramana.radhakrishnan
2007-11-28 20:22 ` Michael Snyder
2007-11-28 21:33 ` Gordon Prieur
2007-11-28 22:55 ` Chris Stankevitz
2007-11-28 23:15 ` Andreas Schwab
2007-11-29  0:03 ` Tom Tromey
2007-11-29 11:21 ` Andrew STUBBS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).