This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Startup Scripts and Duplicates in the History
- From: Alexander von Below <below at mac dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 14 Sep 2005 14:24:09 +0200
- Subject: Startup Scripts and Duplicates in the History
Hello List,
maybe I did not google hard enough, but I could not find an answer to
the following, hopefully trivial question:
1) I would like to "optimize" my workflow, and have a script executed
everytime I start gdb from a certain directory, or in a certain way.
Namely, what the script should do is:
add-symbol-file com.my.driver.sym (gdb also always wants to confirm
this, can I disable this confirmation?)
target remote-kdp
2) Is there a way to not add duplicates to the gdb history? Every
"next" or "cont" is recorded, which seems unnecessary. My usual
debugging session involves setting some breakpoints, a lot of next
and cont, and print. And I would like to quickly step over the
"next"s to recall the break point settings in the next session
Thanks for you help
Alex