Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Hareesh Nagarajan <hnagaraj@cs.uic.edu>
To: GDB <gdb@sources.redhat.com>
Subject: Unable to find dynamic linker breakpoint function.
Date: Fri, 25 Feb 2005 08:04:00 -0000	[thread overview]
Message-ID: <421EB94D.3060200@cs.uic.edu> (raw)

Hi,

I know this question has been posted before, but I am posting this again 
because I don't know how to fix this warning;

1. warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

And then, how must I fix this problem;

2. The program being debugged stopped while in a function called from 
GDB. When the function (std::string::at(unsigned) const) is done 
executing, GDB will silently stop (instead of continuing to evaluate the 
expression containing the function call).

My gdb run appears below.

Thanks,

Hareesh

PS: I'm running GDB 6.0. libstdc++ and glibc have been compiled with 
DEBUG information.

(gdb) r
Starting program: /home/hareesh/new
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
l
Program exited normally.
(gdb) l
1       #include <iostream>
2       #include <string>
3       using namespace std;
4
5       int main(void)
6       {
7               string x("heloo");
8               cout << x.at(2);
9       }
(gdb) b 8
Breakpoint 1 at 0x80488a6: file new.cc, line 8.
(gdb) r
Starting program: /home/hareesh/new
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Breakpoint 1, main () at new.cc:8
8               cout << x.at(2);
(gdb) inspect x
$1 = {static npos = 4294967295, _M_dataplus = {<allocator<char>> = {<No 
data fields>}, _M_p = 0x804a05c "heloo"},
   static _S_empty_rep_storage = {0, 0, 0, 0}}
(gdb) inspect x.at(2)

Breakpoint 1, main () at new.cc:8
8               cout << x.at(2);
The program being debugged stopped while in a function called from GDB.
When the function (std::string::at(unsigned) const) is done executing, 
GDB will silently
stop (instead of continuing to evaluate the expression containing
the function call).
(gdb)


             reply	other threads:[~2005-02-25  5:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-25  8:04 Hareesh Nagarajan [this message]
2005-02-25 17:45 ` Kris Warkentin
2005-02-25 20:20   ` Hareesh Nagarajan
2005-02-25 21:00     ` Kris Warkentin
2005-02-28 16:05       ` Hareesh Nagarajan

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=421EB94D.3060200@cs.uic.edu \
    --to=hnagaraj@cs.uic.edu \
    --cc=gdb@sources.redhat.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