* Startup Scripts and Duplicates in the History
@ 2005-09-14 12:24 Alexander von Below
2005-09-14 13:28 ` Dave Korn
0 siblings, 1 reply; 3+ messages in thread
From: Alexander von Below @ 2005-09-14 12:24 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Startup Scripts and Duplicates in the History
2005-09-14 12:24 Startup Scripts and Duplicates in the History Alexander von Below
@ 2005-09-14 13:28 ` Dave Korn
2005-09-14 13:34 ` Bob Rossi
0 siblings, 1 reply; 3+ messages in thread
From: Dave Korn @ 2005-09-14 13:28 UTC (permalink / raw)
To: 'Alexander von Below', gdb
----Original Message----
>From: Alexander von Below
>Sent: 14 September 2005 13:24
> 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.
Check the manual, "Command Files" section. You just put a .gdbinit in the
certain directory.
> 2) Is there a way to not add duplicates to the gdb history? Every
> "next" or "cont" is recorded, which seems unnecessary.
I don't know about this one, sorry.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Startup Scripts and Duplicates in the History
2005-09-14 13:28 ` Dave Korn
@ 2005-09-14 13:34 ` Bob Rossi
0 siblings, 0 replies; 3+ messages in thread
From: Bob Rossi @ 2005-09-14 13:34 UTC (permalink / raw)
To: Dave Korn; +Cc: 'Alexander von Below', gdb
> > 2) Is there a way to not add duplicates to the gdb history? Every
> > "next" or "cont" is recorded, which seems unnecessary.
>
> I don't know about this one, sorry.
Instead of typing "next" over and over, simply hit 'enter'. That will
repeat the last command without entering another 'next' into the history.
Bob Rossi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-14 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-14 12:24 Startup Scripts and Duplicates in the History Alexander von Below
2005-09-14 13:28 ` Dave Korn
2005-09-14 13:34 ` Bob Rossi
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).