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: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 11 Oct 2007 19:48:01 -0000
- Subject: Re: c++/2333: gdb gets segv evaluating valid function call
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR c++/2333; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: gordon.prieur@sun.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: c++/2333: gdb gets segv evaluating valid function call
Date: Thu, 11 Oct 2007 15:41:38 -0400
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.
--
Daniel Jacobowitz
CodeSourcery