Using dlopen and remote debugging
Steve Kreyer
steve.kreyer@web.de
Mon Feb 25 19:29:00 GMT 2008
Unfortunately your response did not receive my email service provider til now. I had to read it over the gdb mailing list archives.
Thank you so much for this patch you've suggested there! I've searched nearly 2 days for a solution about this issue, now it works!
Thanks,
Steve
-----Ursprüngliche Nachricht-----
Von: <steve.kreyer@web.de>
Gesendet: 25.02.08 15:23:27
An: "Dr. Rolf Jansen" <rj@surtec.com>
CC: gdb@sourceware.org
Betreff: Re: Using dlopen and remote debugging
Hi Daniel, hello Rolf,
first, thanks for your answers, but I am afraid Daniel is right. "info shared" says:
(gdb) c
Continuing.
Breakpoint 1, main () at test2.c:12
12 lib_handle = dlopen("/libtest.so", RTLD_NOW);
(gdb) n
13 foop = 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üngliche Nachricht-----
Von: "Daniel Jacobowitz" <drow@false.org>
Gesendet: 25.02.08 14:30:52
An: Steve Kreyer <steve.kreyer@web.de>
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 = 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.
--
Daniel Jacobowitz
CodeSourcery
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://www.digitaledienste.web.de/freemail/club/lp/?lp=7
More information about the Gdb
mailing list