From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1324 invoked by alias); 25 Feb 2008 14:23:13 -0000 Received: (qmail 1316 invoked by uid 22791); 25 Feb 2008 14:23:12 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate04.web.de (HELO fmmailgate04.web.de) (217.72.192.242) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Feb 2008 14:22:53 +0000 Received: from web.de by fmmailgate04.web.de (Postfix) with SMTP id 4E0D549E9435; Mon, 25 Feb 2008 15:21:37 +0100 (CET) Received: from [62.245.203.10] by freemailng1004.web.de with HTTP; Mon, 25 Feb 2008 15:21:36 +0100 Date: Mon, 25 Feb 2008 14:33:00 -0000 Message-Id: <1016028346@web.de> MIME-Version: 1.0 From: steve.kreyer@web.de To: Daniel Jacobowitz , "Dr. Rolf Jansen" Cc: gdb@sourceware.org Subject: Re: Using dlopen and remote debugging Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00213.txt.bz2 Hi Daniel, hello Rolf, first, thanks for your answers, but I am afraid Daniel is right. "info shar= ed" says: (gdb) c Continuing. Breakpoint 1, main () at test2.c:12 12 lib_handle =3D dlopen("/libtest.so", RTLD_NOW); (gdb) n 13 foop =3D dlsym(lib_handle, "foo"); (gdb) info shared No shared libraries loaded at this time. Is there anything else I can do to debug this library using the gdb sh port? Thanks and regards, Steve -----Urspr=FCngliche Nachricht----- Von: "Daniel Jacobowitz" Gesendet: 25.02.08 14:30:52 An: Steve Kreyer CC: gdb@sourceware.org Betreff: Re: Using dlopen and remote debugging On Mon, Feb 25, 2008 at 01:04:12PM +0100, Steve Kreyer wrote: > Breakpoint 1, main () at test2.c:12 > 12 lib_handle =3D dlopen("/libtest.so", RTLD_NOW); > (gdb) n At this point, what does info shared say? The SH Linux port of GDB is not well-cared-for. I suspect it is missing shared library support entirely. --=20 Daniel Jacobowitz CodeSourcery _________________________________________________________________________ In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!=20 Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=3D021114