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: symtab/2323: gdwarf-2 register params with backing storecannot be displayed


The following reply was made to PR symtab/2323; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: mblower@chipwrights.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: symtab/2323: gdwarf-2 register params with backing store
	cannot be displayed
Date: Fri, 28 Sep 2007 09:27:24 -0400

 On Fri, Sep 28, 2007 at 01:12:35PM -0000, mblower@chipwrights.com wrote:
 > Using -gdwarf-2 to build debug information, when break inside "stow_it", cannot display parameter r4, instead gdb gets an error stating "Asking for position 0 of stack, stack only contains 0 elements."  Similar difficulty with "info frame" and some of the other expression display commands. If I rebuild with -gstabs then gdb does not have this difficulty.
 
 What compiler and version are you using?  This is probably a symptom
 of incorrect debugging information emitted by your compiler.
 
 The output of readelf -wio on the binary might help.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery


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