diff options
author | Kevin Buettner <kevinb@redhat.com> | 2004-03-11 17:04:40 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2004-03-11 17:04:40 +0000 |
commit | f8766ec10093029c944914de6c048d015e8dd5db (patch) | |
tree | b0f82755546128ccd553211908c7ed1f32c655fe /gdb/solib.c | |
parent | 9e07f89d62dc00b9a77100f5bc042e080d3519da (diff) | |
download | gdb-f8766ec10093029c944914de6c048d015e8dd5db.zip gdb-f8766ec10093029c944914de6c048d015e8dd5db.tar.gz gdb-f8766ec10093029c944914de6c048d015e8dd5db.tar.bz2 |
* solist.h (master_so_list): New function.
* solib.c (master_so_list): Likewise.
* solib-svr4.c (enable_break): Iterate over so_list entries
obtained from master list instead of entries obtained directly
via svr4_current_sos().
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index a98c3bd..137fc70 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -333,6 +333,14 @@ free_so (struct so_list *so) } +/* Return address of first so_list entry in master shared object list. */ +struct so_list * +master_so_list (void) +{ + return so_list_head; +} + + /* A small stub to get us past the arg-passing pinhole of catch_errors. */ static int |