Startup Scripts and Duplicates in the History

Dave Korn dave.korn@artimi.com
Wed Sep 14 13:28:00 GMT 2005


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



More information about the Gdb mailing list