This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB 5.0.92 available
- To: Sinisa Milivojevic <sinisa at mysql dot com>
- Subject: Re: GDB 5.0.92 available
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 01 Nov 2001 06:22:35 -0500
- Cc: gdb at sources dot redhat dot com
- References: <3BDF7F79.6050205@cygnus.com> <15327.64458.494145.962156@sinisa.nasamreza.org> <3BE06BAF.1040306@cygnus.com> <15329.18060.575410.146624@sinisa.nasamreza.org>
> Linux kernel 2.4.13, glibc 2.2.3, latest gdb used either alone or
> through any other inteface. The behaviour is the same.
>
> I place .gdbinit in a directory with executable, do:
>
> gdb --cd=[directory where executable is located] executable
>
> and none of the init commands in .gdbinit is executed. Example of one
> of my .gdbinits:
Does this work?
( cd [directory where executable is located] ; gdb executable )
Andrew