aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-01-07 15:19:58 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-01-07 15:19:58 +0000
commita7c02bc8e11894a2c8ac3f834961f214229a4d51 (patch)
tree966dda90f1fa480b7e9b4648f5c559f85ca3e02d /gdb/solist.h
parent2dd3e587bdab39d73086c35be60399e096d48b46 (diff)
downloadgdb-a7c02bc8e11894a2c8ac3f834961f214229a4d51.zip
gdb-a7c02bc8e11894a2c8ac3f834961f214229a4d51.tar.gz
gdb-a7c02bc8e11894a2c8ac3f834961f214229a4d51.tar.bz2
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.
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h4
1 files changed, 4 insertions, 0 deletions
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 *). */