Startup Scripts and Duplicates in the History

Alexander von Below below@mac.com
Wed Sep 14 12:24:00 GMT 2005


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



More information about the Gdb mailing list