From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29670 invoked by alias); 11 Mar 2005 21:42:24 -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 29626 invoked from network); 11 Mar 2005 21:42:19 -0000 Received: from unknown (HELO e35.co.us.ibm.com) (32.97.110.133) by sourceware.org with SMTP; 11 Mar 2005 21:42:19 -0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e35.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j2BLgILg069284 for ; Fri, 11 Mar 2005 16:42:18 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j2BLgIoY158924 for ; Fri, 11 Mar 2005 14:42:18 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j2BLgHSr005162 for ; Fri, 11 Mar 2005 14:42:17 -0700 Received: from austin.ibm.com (netmail2.austin.ibm.com [9.41.248.176]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j2BLgHFa005144 for ; Fri, 11 Mar 2005 14:42:17 -0700 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id j2BLgGfx109212 for ; Fri, 11 Mar 2005 15:42:16 -0600 Date: Fri, 11 Mar 2005 21:42:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb@sources.redhat.com Subject: warning: Unable to find dynamic linker breakpoint function. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-03/txt/msg00129.txt.bz2 latest cvs GDB gives me a warning that it cannot set breakpoint in dynamic linker, but GDB from RH sources works ok. Sometihng in GDB changed? I saw a similar discussion for AMD64 last year (between Daniel and Adam Richard), but it does not make clear why this would happen on cvs version and not on older versions of GDB. Platform: ppc64 OS: RH 4. ---------------- CVS version of GDB -------------------- GNU gdb 6.3.50.20050311-cvs This GDB was configured as "powerpc64-gnu-linux". GNU gdb 6.3.50.20050311-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64-gnu-linux"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) br main Breakpoint 1 at 0x100005c4: file ../.././gdb/testsuite/gdb.base/annota1.c, line 32. (gdb) r Starting program: /tmp/manjo/2005-03-11/src/gdb/testsuite/gdb.base/annota1 warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. warning: Breakpoint address adjusted from 0x10010ac0 to 0x1000041c. Breakpoint 1, 0x00000000100005c4 in ?? () (gdb) ----------------------------- end cvs version ------------------ ----------- RH source RPM version --------------------- But the GDB GNU gdb Red Hat Linux (6.3.0.0-0.13rh) This GDB was configured as "powerpc64-unknown-linux-gnu". GNU gdb Red Hat Linux (6.3.0.0-0.13rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) br main Breakpoint 1 at 0x100005c4: file ../.././gdb/testsuite/gdb.base/annota1.c, line 32. (gdb) r Starting program: /tmp/manjo/2005-03-11/src/gdb/testsuite/gdb.base/annota1 Breakpoint 1, main () at ../.././gdb/testsuite/gdb.base/annota1.c:32 32 int my_array[3] = { 1, 2, 3 }; (gdb) GNU gdb Red Hat Linux (6.3.0.0-0.13rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) br main Breakpoint 1 at 0x100005c4: file ../.././gdb/testsuite/gdb.base/annota1.c, line 32. (gdb) r Starting program: /tmp/manjo/2005-03-11/src/gdb/testsuite/gdb.base/annota1 Breakpoint 1, main () at ../.././gdb/testsuite/gdb.base/annota1.c:32 32 int my_array[3] = { 1, 2, 3 }; (gdb) -------------------- end RH source RPM ------------------ Can some one help? ----- manjo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Cogito ergo sum + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++