From f8766ec10093029c944914de6c048d015e8dd5db Mon Sep 17 00:00:00 2001 From: Kevin Buettner <kevinb@redhat.com> Date: Thu, 11 Mar 2004 17:04:40 +0000 Subject: * 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(). --- 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 8e5c4321855..7977c541fc1 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -107,8 +107,12 @@ struct target_so_ops }; +/* Free the memory associated with a (so_list *). */ void 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); + /* Find solib binary file and open it. */ extern int solib_open (char *in_pathname, char **found_pathname); -- cgit v1.2.1