This is the mail archive of the gdb@sources.redhat.com 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: [RFC] Possible gcc/DWARF or gdb/DWARF problem


On Sat, Nov 29, 2003 at 01:26:03PM -0700, Fred Fish wrote:
> I'd like to get some comments on whether this is a gcc/DWARF or
> gdb/DWARF issue.  If the consensus is that gdb is not doing the right
> thing, then I'll chase the problem in gdb.  If the consensus is that
> it is gcc, then I'll file a formal gcc bug report.  My guess is that
> since gcc is generating the memory offset of a 1 byte object relative
> to the frame pointer that the DW_AT_location for the big endian case
> should be:
> 
>                   DW_AT_location              DW_OP_fbreg 3

I agree.  We're describing an object in memory of size 1.  It should be
at the specified location, not padded.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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