This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Shared library call problems on PowerPC with gdb 7.2
- From: Klaus Zeitler <Klaus dot Zeitler at alcatel-lucent dot com>
- To: gdb at sourceware dot org
- Date: Mon, 15 Apr 2013 16:20:59 +0200
- Subject: Shared library call problems on PowerPC with gdb 7.2
- Reply-to: Klaus dot Zeitler at alcatel-lucent dot com
Hello,
I'm trying to debug a shared library on PowerPC (P3041).
Unfortunately it is nearly impossible to step through
functions in the shared library, cause neither "next" nor "step"
work as expected. e.g. I set a breakpoint at a function in the shared
lib and when I try now to step through the code (with "next" or "step")
I get:
"Single stepping until exit from function call___do_global_ctors_aux,
which has no line number information."
I can return with "finish" to my function, but the same thing happens
for every "next" or "step".
I found a few reports about this problem from 2007 and 2008 (but it
seems as if they were solved long ago), e.g. from Ulrich Weigand:
http://sourceware.org/ml/gdb-patches/2008-04/msg00639.html
I'm using gdb 7.2, the exact version is:
GNU gdb (Wind River Linux Sourcery G++ 4.4a-341) 7.2.50.20100908-cvs
Maybe the gcc/binutils version is also relevant:
powerpc-wrs-linux-gnu-gcc (Wind River Linux Sourcery G++ 4.4a-341) 4.4.1
Thanks
Klaus
--
-------------------------------------------------------------------
| Klaus Zeitler Alcatel-Lucent |
| Lorenzstrasse 10 70435 Stuttgart, Germany |
| Department: Building: 005 Office: 3/171 |
| Telefon: +49 711821 43898 |
| Email: klaus.zeitler@alcatel-lucent.com |
| |
| Alcatel-Lucent Deutschland AG |
| Sitz der Gesellschaft: Stuttgart  Amtsgericht Stuttgart HRB 4026 |
| Vorsitzender des Aufsichtsrates: Michael Oppenhoff |
| Vorstand: |
| Alf Henryk Wulf (Vorsitzender) Â Dr. Rainer Fechner |
-------------------------------------------------------------------
---
Nothing is like it seems, but everything is exactly like it is. -- Yogi Berra