This is the mail archive of the gdb-prs@sourceware.org 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: c++/2333: gdb gets segv evaluating valid function call


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


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