This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help me reduce typing when running 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]