This is the mail archive of the gdb-patches@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: RFA/mips: Use ".pdr" sections generated by GAS


On Thu, Jun 13, 2002 at 10:01:42AM -0700, Paul Hilfinger wrote:
> 
> > >ECOFF debug information (mdebug) included the concept of a PDR.  MIPS uses
> > >these for unwinding through functions, among other things.  Right now we 
> > >can
> > >get them from mdebug or from code inspection.  But current GNU binutils
> > >emits ".pdr" sections instead of using the old ".mdebug" style debug info.
> 
> According to its documentation, exc_unwind on IRIX 6.5 currently uses
> .debug_frame information for unwinding purposes (and its native
> assembler now does not produce PDR sections there).  I am not familiar
> with the set of all MIPS platforms, so I am moved to ask whether it
> would (1) be a good idea if or (2) be unnecessary for GDB to do the
> same thing.  

Did the IRIX 6.5 assembler ever produce PDR sections?  I was unaware of
this.

Yes, we should use .debug_frame (when it is available).  Dan Berlin
mentioned this a week or so ago on gcc@ also.  Most of the code is
there, it just needs to be hooked in.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
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]