List Info

Thread: Re: Using dlopen and remote debugging




Re: Using dlopen and remote debugging
country flaguser name
Germany
2008-02-25 10:29:33
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.kreyerweb.de>
Gesendet: 25.02.08 15:23:27
An:  "Dr. Rolf Jansen" <rjsurtec.com>
CC: gdbsourceware.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" <drowfalse.org>
Gesendet: 25.02.08 14:30:52
An: Steve Kreyer <steve.kreyerweb.de>
CC: gdbsourceware.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.ma
ildomain.web.de/?mc=021114




____________________________________________________________
_________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt
aktivieren!
http://www.digitaledienste.web.de/freemail/club/lp/?lp=7



Re: Using dlopen and remote debugging
country flaguser name
United States
2008-02-26 19:06:22
On Mon, Feb 25, 2008 at 05:29:33PM +0100, Steve Kreyer
wrote:
> 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 for testing.  I've checked it in.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )