This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb doesn't work well with DSO on Linux/mips
- From: "H . J . Lu" <hjl at lucon dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Fri, 22 Mar 2002 23:46:48 -0800
- Subject: gdb doesn't work well with DSO on Linux/mips
# gdb /lib/ld-2.2.4.so
(gdb) b _dl_start
Breakpoint 1 at 0xfe4: file rtld.c, line 181.
(gdb) r
Starting program: /lib/ld-2.2.4.so
Breakpoint 1 at 0x55550fe4: file rtld.c, line 181.
warning: shared library handler failed to enable breakpoint
The problem is the entry point for SVR4/MIPS is __start. But bkpt_names
in solib-svr4.c only checks _start. Should I add __start to bkpt_names
or define SOLIB_BKPT_NAME to __start for Linux/MIPS?
H.J.