This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Startup Scripts and Duplicates in the History
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Alexander von Below'" <below at mac dot com>,<gdb at sources dot redhat dot com>
- Date: Wed, 14 Sep 2005 14:28:19 +0100
- Subject: RE: Startup Scripts and Duplicates in the History
----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....