From: "dodji Seketeli" <dodji@seketeli.org>
To: "Jim Blandy" <jimb@codesourcery.com>
Cc: gdb@sourceware.org
Subject: Re: gdb very slow during 'step into'
Date: Thu, 04 Jan 2007 10:04:00 -0000 [thread overview]
Message-ID: <adeacfc10701040204i406cfe45ubbb46e67ff8aaa55@mail.gmail.com> (raw)
In-Reply-To: <m34pr71y26.fsf@codesourcery.com>
> > I have tried to add some printf() around the patch to see if I could
> > trace some stuff but nothing got printed on stdout. Is that normal ?.
> > If yes, how can I add logs to understand what is going on ?
>
> No; ordinary fprintf (stderr, ...) should work in GDB.
Okay, I was foolishly doing printf(). My fault.
fprintf(stderr,...) does work.
>You're using GDB's command line interface, right? If that function
isn't getting
> called at all, then that may be part of the problem.
It is actually getting called.
This code fails:
struct minimal_symbol *resolver
= find_minsym_and_objfile ("_dl_runtime_resolve", &objfile);
So the _dl_runtime_resolve symbol is not found.
>
> First, what kind of system are you using? You've mentioned Debian,
> and binutils 2.17, but what architecture is it?
x86.
> Is /lib/ld-linux.so.2 normally installed stripped on your system?
Yes .
Cheers,
Dodji.
next prev parent reply other threads:[~2007-01-04 10:04 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 15:24 dodji Seketeli
2007-01-02 19:29 ` Jim Blandy
2007-01-02 19:31 ` Daniel Jacobowitz
2007-01-02 19:48 ` Jim Blandy
2007-01-02 21:39 ` Mark Kettenis
2007-01-02 22:59 ` Andreas Schwab
2007-01-02 23:45 ` Jim Blandy
2007-01-02 23:57 ` Daniel Jacobowitz
2007-01-03 15:03 ` Andreas Schwab
2007-01-03 9:14 ` dodji Seketeli
2007-01-03 19:52 ` Jim Blandy
2007-01-03 19:59 ` Smith, Stephen (SWCOE)
2007-01-03 21:19 ` Jim Blandy
2007-01-03 20:59 ` Andreas Schwab
2007-01-03 21:17 ` Jim Blandy
2007-01-03 21:58 ` dodji Seketeli
2007-01-03 23:37 ` Jim Blandy
2007-01-03 23:42 ` Daniel Jacobowitz
2007-01-04 0:00 ` Jim Blandy
2007-01-04 10:04 ` dodji Seketeli [this message]
2007-01-04 3:28 ` Daniel Jacobowitz
2007-01-04 10:10 ` dodji Seketeli
2007-01-04 13:53 ` Daniel Jacobowitz
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=adeacfc10701040204i406cfe45ubbb46e67ff8aaa55@mail.gmail.com \
--to=dodji@seketeli.org \
--cc=gdb@sourceware.org \
--cc=jimb@codesourcery.com \
/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