From a7c02bc8e11894a2c8ac3f834961f214229a4d51 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 7 Jan 2008 15:19:58 +0000 Subject: 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. --- gdb/solist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/solist.h') diff --git a/gdb/solist.h b/gdb/solist.h index a047177..01f734f 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -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 *). */ -- cgit v1.1