This is the mail archive of the gdb@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: Unwinding past main


> Funny you would see that. I am just looking at the same sort of
> problem, but on IA64. I have an infinite loop when unwinding the
> call stack from a thread. I don't understand all the conditions
> yet (I am completely new to IA64, and it's quite complex for me).

oh, it used to do this on hppa too... we unwind to the clone call and
then it gets all confused.

> So you are right in saying that this can happen on other targets too.
> In my case, the "main" is the NPTL thread start routine, and we try
> to unwind past it. In some cases, we are lucky, because we end up
> with 2 identical frames which cause an error, but in some others,
> the frame base changes slightly from frame to frame and we loop...

yup. that's what i see too in this case.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


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