This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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() from a pthread on ARM


On 03/14/2012 08:55 AM, lxusr wrote:
> 
> Hi,
> 
> I tried applying this patch.. Now I see that the bt prints the message
> infinitely
> 
> #0  threadFunction_2 (xyz=0x0) at common.c:46
> #1  0x4002c858 in start_thread (arg=<optimized out>) at pthread_create.c:299
> #2  0x40117ed0 in ?? () from /arm/lib/libc.so.6
> #3  0x40117ed0 in ?? () from /arm/lib/libc.so.6
> #4  0x40117ed0 in ?? () from /arm/lib/libc.so.6
> .......
> ...
> 
> I am using glibc-2.9 and linux 2.6.28. Am I missing something?

Not necessarily.  I know that, after the patch, the stack is correct.
If GDB is doing it wrong, that's GDB's fault, and you need either to
update GDB or submit a bug report.

Andrew.


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