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]

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....


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