This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Merge C++ conversion into trunk (0/6 - Overview)
- From: Richard Guenther <rguenther at suse dot de>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Lawrence Crowl <crowl at google dot com>, bonzini at gnu dot org, dj at redhat dot com, tromey at redhat dot com, laurynas dot biveinis at gmail dot com, gdb at sourceware dot org
- Date: Wed, 15 Aug 2012 14:18:41 +0200 (CEST)
- Subject: Re: Merge C++ conversion into trunk (0/6 - Overview)
- References: <20120812200427.GA12561@google.com> <alpine.LNX.2.00.1208151357110.28649@zhemvz.fhfr.qr> <502B93BF.6020802@google.com>
On Wed, 15 Aug 2012, Diego Novillo wrote:
> On 12-08-15 07:59 , Richard Guenther wrote:
>
> > (gdb) call debug_tree (*expr_p)
> > <integer_cst 0x7ffff695d7c0 type <integer_type 0x7ffff67fa5e8 int>
> > constant 9>
> > (gdb) call debug_tree (0x7ffff67fa5e8)
> > Cannot resolve function debug_tree to any overloaded instance
>
> Yeah, in the absence of overloads this is annoying. Happens with 0, too.
0 is fixed if you have recent enough gdb.
(gdb) call debug_tree (0)
as 0 is a null pointer constant.
Richard.