This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB 5.0.92 available
- To: ac131313 at cygnus dot com
- Subject: Re: GDB 5.0.92 available
- From: Sinisa Milivojevic <sinisa at mysql dot com>
- Date: Thu, 1 Nov 2001 14:56:44 +0200
- Cc: gdb at sources dot redhat dot com
- References: <3BDF7F79.6050205@cygnus.com><15327.64458.494145.962156@sinisa.nasamreza.org><3BE06BAF.1040306@cygnus.com>
Andrew Cagney writes:
>
> See the file gdb/NEWS. This is a pre 5.1 snap so is really only for
> testing.
>
Most of the snapshots worked just fine for me ... ;o)
> > Anyway, may be you can answer my question on .gdbinit.
> >
> > Prior versions (4.*) of gdb would read local .gdbinit files too, not
> > just .gdbinit in your HOME dir. So, for each project you could have a
> > separate .gdbinit located in the directory of the executables.
> >
> > I have tried several snapshots and none of them will read any init
> > file except the one in the HOME.
> >
> > Is there a workaround ??
>
> I think you'll need to provide more information (os, ...). the above
> works for me.
>
> Andrew
>
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:
set print sevenbit off
handle SIGUSR1 nostop noprint
handle SIGUSR2 nostop noprint
handle SIGWAITING nostop noprint
handle SIGLWP nostop noprint
handle SIGPIPE nostop
handle SIGALRM nostop
handle SIGHUP nostop
handle SIGTERM nostop noprint
set args --one-thread --datadir=/usr/local/var --skip-stack-trace --core-file --skip-grant-tables --language=/mnt/hdc/Sinisa/mysql-4.0/sql/share/english/
What other info do you require ??
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com