From: Klaus Zeitler <Klaus.Zeitler@alcatel-lucent.com>
To: gdb@sourceware.org
Subject: Shared library call problems on PowerPC with gdb 7.2
Date: Mon, 15 Apr 2013 14:21:00 -0000 [thread overview]
Message-ID: <q5ga9oznad0.fsf@destgd0d00539.de.alcatel-lucent.com> (raw)
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
next reply other threads:[~2013-04-15 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 14:21 Klaus Zeitler [this message]
2013-04-15 14:39 ` Pedro Alves
2013-04-17 7:55 ` Klaus Zeitler
2013-04-17 9:48 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=q5ga9oznad0.fsf@destgd0d00539.de.alcatel-lucent.com \
--to=klaus.zeitler@alcatel-lucent.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox