This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
patch for NetBSD dynamic linker support
- To: gdb-patches at sources dot redhat dot com
- subject: patch for NetBSD dynamic linker support
- From: matthew green <mrg at eterna dot com dot au>
- Date: Sun, 10 Dec 2000 22:00:07 +1100
- organisation: Red Hat, Inc.
this patch adds the NetBSD ld.elf_so 'debug' symbol to the table of
such symbols to allow GDB to properly debug shlibs, etc.
thanks,
.mrg.
2000-12-10 matthew green <mrg@eterna.com.au>
* solib-svr4.c (solib_break_names): Add NetBSD's `_rtld_debug_state'.
Index: solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.4
diff -p -r1.4 solib-svr4.c
*** solib-svr4.c 2000/11/21 01:09:54 1.4
--- solib-svr4.c 2000/12/10 10:56:55
*************** static char *solib_break_names[] =
*** 82,87 ****
--- 82,88 ----
"_r_debug_state",
"_dl_debug_state",
"rtld_db_dlactivity",
+ "_rtld_debug_state",
NULL
};
#endif