Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!HPLABS.HP.COM!glenne%hplsla From: glenne%hplsla@HPLABS.HP.COM (Glenn Engel) Newsgroups: gnu.gdb.bug Subject: .gdbinit file can be read twice Message-ID: <8902152046.AA23807@labgre.HP.COM> Date: 15 Feb 89 20:46:28 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 gdb's algorithm for reading .gdbinit is 1) read $HOME/.gdbinit 2) read .gdbinit This means that if I am cd'ed to my $HOME directory and invoke gdb, it will read the .gdbinit file twice because it is read from $HOME/.gdbinit and .gdbinit. This causes extra error messages to be emitted when duplicate lines are read. -- | Glenn R. Engel | Hewlett-Packard | (206) 335-2066 | glenne%hplsla@hplabs.hp.com