This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Persitance of .gdbinit variables


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]