Implement gdb_solib_create_inferior_hook().
This function is used for autoloading kld module symbols for remote kgdb. We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable this function. (*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c
This commit is contained in:
parent
89674a9f77
commit
3c0173a666
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user