summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/solib-fbsd-kld.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/solib-fbsd-kld.c b/gnu/usr.bin/binutils/gdb/solib-fbsd-kld.c
index 72d4807..190e6e6 100644
--- a/gnu/usr.bin/binutils/gdb/solib-fbsd-kld.c
+++ b/gnu/usr.bin/binutils/gdb/solib-fbsd-kld.c
@@ -159,7 +159,13 @@ kgdb_special_symbol_handling (void)
static void
kgdb_solib_create_inferior_hook (void)
{
- warning ("kgdb_solib_create_inferior_hook called\n");
+ struct so_list *inferior_sos;
+
+ inferior_sos = kgdb_current_sos ();
+ if (inferior_sos)
+ {
+ solib_add (NULL, /*from_tty*/0, NULL, auto_solib_add);
+ }
}
static void
OpenPOWER on IntegriCloud