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: gdb/2193: MIPS-32 fails to show correct function arguments with stabs+


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

From: Daniel Jacobowitz <drow@false.org>
To: hans@ellips.nl
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2193: MIPS-32 fails to show correct function arguments with stabs+
Date: Thu, 26 Oct 2006 10:31:06 -0400

 On Thu, Oct 26, 2006 at 01:54:53PM -0000, hans@ellips.nl wrote:
 > GDB shows the wrong value for arg. When the argument is on the stack
 > at location 34, GDB takes the value at location 68. So it looks like
 > it thinks the arguments are stored in 64 bit or something. Any other
 > debug format like dwarf-2 shows arg correctly, but has more
 > difficulties in finding the stack frame. Stabs+ looks like the most
 > stable format but has this bug in it.
 
 I would really recommend you use DWARF-2 instead, and file any bugs you
 encounter.  Stabs can not represent debug info generated by modern
 compilers.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery


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