forked from Imagelibrary/binutils-gdb
Ignore change in name of dynamic linker during
execution, on Solaris. This also unbreaks pending breakpoints.
* solist.h (struct target_so_ops): New field same.
* solib-svr4.c (svr4_same): New.
(_initialize_svr4_solib): Register svr4_same.
* solib.c (update_solib_list): Use ops->same, if available.
This commit is contained in:
@@ -115,6 +115,10 @@ struct target_so_ops
|
||||
const domain_enum domain,
|
||||
struct symtab **symtab);
|
||||
|
||||
/* Given two so_list objects, one from the GDB thread list
|
||||
and another from the list returned by current_sos, return 1
|
||||
if they represent the same library. */
|
||||
int (*same) (struct so_list *gdb, struct so_list *inferior);
|
||||
};
|
||||
|
||||
/* Free the memory associated with a (so_list *). */
|
||||
|
||||
Reference in New Issue
Block a user