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: 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


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