This is the mail archive of the gdb-patches@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: MIPS: Handle manual calls of MIPS16 functions with a call stub


On Fri, 1 Feb 2008, Daniel Jacobowitz wrote:

> Does the low bit end up set in the DWARF for init_small_structs?  From
> what you're saying, I think it does.  My experience with Thumb makes
> me think that's the actual GAS bug here.  Those are code addresses,
> not symbols, and I don't think they should encode MIPS16-ness -
> see the recent discussion of values in .debug_line, which we agreed
> should not have assorted flag bits set either.  The code starts at
> 0x900, not 0x901.

 It does.  Here is the final DWARF-2 record for init_small_structs():

 <1><ce2>: Abbrev Number: 16 (DW_TAG_subprogram)
  <ce3>     DW_AT_external    : 1
  <ce4>     DW_AT_name        : init_small_structs
  <cf7>     DW_AT_decl_file   : 1
  <cf8>     DW_AT_decl_line   : 613
  <cfa>     DW_AT_low_pc      : 0x8002093d
  <cfe>     DW_AT_high_pc     : 0x80020a90
  <d02>     DW_AT_frame_base  : 0x2db   (location list)
  <d06>     DW_AT_sibling     : <de6>

I cannot seem to locate the discussion you are referring to easily enough 
-- would you care to provide a link?

  Maciej


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