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]

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


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