From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18099 invoked by alias); 25 Feb 2005 05:36:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18057 invoked from network); 25 Feb 2005 05:36:16 -0000 Received: from unknown (HELO smtp817.mail.sc5.yahoo.com) (66.163.170.3) by sourceware.org with SMTP; 25 Feb 2005 05:36:16 -0000 Received: from unknown (HELO ?172.16.1.37?) (kph1982@sbcglobal.net@68.252.251.116 with plain) by smtp817.mail.sc5.yahoo.com with SMTP; 25 Feb 2005 05:36:14 -0000 Message-ID: <421EB94D.3060200@cs.uic.edu> Date: Fri, 25 Feb 2005 08:04:00 -0000 From: Hareesh Nagarajan User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: GDB Subject: Unable to find dynamic linker breakpoint function. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00159.txt.bz2 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 2 #include 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 = {> = {}, _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)