This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: c++/2333: gdb gets segv evaluating valid function call
- From: Gordon Prieur <Gordon dot Prieur at Sun dot COM>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 11 Oct 2007 19:58:01 -0000
- Subject: Re: c++/2333: gdb gets segv evaluating valid function call
- Reply-to: Gordon Prieur <Gordon dot Prieur at Sun dot COM>
The following reply was made to PR c++/2333; it has been noted by GNATS.
From: Gordon Prieur <Gordon.Prieur@Sun.COM>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: c++/2333: gdb gets segv evaluating valid function call
Date: Thu, 11 Oct 2007 12:49:42 -0700
Daniel Jacobowitz wrote:
> On Thu, Oct 11, 2007 at 07:34:37PM -0000, gordon.prieur@sun.com wrote:
>
>> See the attached program. If you run to line 137 and do the
>> command "print getDiscountFor(customerName)" (or substitue
>> "John" for customerName) you get a SIGSEGV.
>>
>> If you "print customerName" before doing this you'll see that
>> its a valid std::string.
>>
>
> Could you try a current CVS snapshot, please? I fixed an important
> bug in C++ argument passing and return.
>
OK. Was this post gdb 6.7?
Gordon