This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Improved backtrace for s390*.


On Mon, Dec 08, 2003 at 02:26:00PM +0100, Martin Schwidefsky wrote:
> 
> > > 2003-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
> > >
> > >          * sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure.
> > >          (unwind_backtrace, unwind_getip): New variables.
> > >          (init, __backchain_backtrace, backtrace_helper): New
> functions.
> > >          (__backtrace): Use unwind info for backtrace instead of
> backchain
> > >          walking if the unwind functions can be found.
> > >          * sysdeps/s390/s390-64/backtrace.c: Likewise.
> >
> > I assume you tested it.  Applied.  Thanks,
> 
> Yes, I did.

Also with GCC 3.2 or earlier compiled code (which had no
-fasynchronous-unwind-tables by default)?

I think you need something similar to following (which is for IA-32,
not for s390*):

	Jakub

Attachment: backtrace.c
Description: Text document


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