From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26366 invoked by alias); 28 Apr 2005 15:20:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26322 invoked from network); 28 Apr 2005 15:20:08 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 28 Apr 2005 15:20:08 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DRAoC-0000wM-7L; Thu, 28 Apr 2005 11:20:08 -0400 Date: Thu, 28 Apr 2005 15:33:00 -0000 From: Daniel Jacobowitz To: Alex Bennee Cc: gdb@sources.redhat.com Subject: Re: Persitance of .gdbinit variables Message-ID: <20050428152007.GA3533@nevyn.them.org> Mail-Followup-To: Alex Bennee , gdb@sources.redhat.com References: <1114701359.6341.83.camel@okra.transitives.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1114701359.6341.83.camel@okra.transitives.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00209.txt.bz2 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