This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: backtrace for hppa


On Tue, 16 Jan 2018, Andreas Schwab wrote:

> On Jan 16 2018, Joseph Myers <joseph@codesourcery.com> wrote:
> 
> > As far as I can tell, the only architecture in glibc that uses the generic 
> > debug/backtrace.c is hppa.  
> > <https://sourceware.org/glibc/wiki/Release/2.26#HPPA> also shows the 
> > debug/tst-backtrace* tests as failing for hppa.  That suggests the generic 
> > debug/backtrace.c is not in fact functional anywhere and so the x86_64 
> > backtrace implementation (which many other architectures include) would be 
> > a better generic version.
> 
> Perhaps merged with the m68k version.

There are several versions that use libgcc_s but have 
architecture-specific differences from x86_64 (arm i386 m68k s390-32 
s390-64 sparc; microblaze and powerpc don't use libgcc_s at all).  It may 
well be possible to factor things to reduce the duplication between those 
variants, but there are enough differences that I think it makes sense to 
make put the x86_64 version (used for x86_64 and seven other architectures 
at present) in debug/ before any further refactoring.

-- 
Joseph S. Myers
joseph@codesourcery.com


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