diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-01-07 15:19:58 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-01-07 15:19:58 +0000 |
commit | 2b9821a1e987a06ba7d6af9a8a3bd1b44bfc5312 (patch) | |
tree | ca9daa2c8975098ca4600a4ae03a632350b55cd6 /gdb/solist.h | |
parent | 4149a4fb574bfdcf6a75ff27c36aa206b86e0a79 (diff) | |
download | gdb-2b9821a1e987a06ba7d6af9a8a3bd1b44bfc5312.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h index a047177e296..01f734fcdad 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 *). */ |