This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Persitance of .gdbinit variables
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alex Bennee <kernel-hacker at bennee dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 28 Apr 2005 11:20:08 -0400
- Subject: Re: Persitance of .gdbinit variables
- References: <1114701359.6341.83.camel@okra.transitives.com>
On Thu, Apr 28, 2005 at 04:15:59PM +0100, Alex Bennee wrote:
> 16:04 alex@xxxxx >gdb -x gdb_dirs --args myprog
> GNU gdb 5.3
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "i386-pc-solaris2.9"...Set gcbp to 0
> Set gcbp_hook to 0
> Set foo to 1234
>
> (gdb) gcb 0xdb570b24
> Invalid type combination in equality test.
> (gdb) p $gcbp_hook
> $1 = void
> (gdb) p $gcbp
> $2 = void
> (gdb)
> [end of run]
>
> Is this expected behaviour?
Could you try a newer version of GDB? If it still doesn't work in 6.3,
I'll need more details on how to reproduce it; because it appears to
work OK for me.
--
Daniel Jacobowitz
CodeSourcery, LLC