From 87273c713f0e22999692252d3dcdbb5613ab5729 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 23 Jan 1996 21:06:34 +0000 Subject: * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. All references changed. * breakpoint.c (bpstat_what): Add shlib_event to the class types. Update state table. Reformat so that it's still readable. When we hit the shlib_event breakpoint, set the calss of shlib_event. (breakpoint_1): Add "shlib events" as a breakpoint type. Print the shlib_event breakpoint like other breakpoints. (create_solib_event_breakpoint): New function. (breakpoint_re_set_one): Handle solib_event breakpoints. * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS action. (create_solib_event_breakpoint): Declare. * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. (normal_stop): Inform the user when the inferior stoped due to a shared library event. (_initialize_infrun): Add new set/show variable "stop_on-solib-events" to control whether or not gdb continues the inferior or stops it when a shared library event occurs. * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. * somsolib.c (TODO list): Update. (som_solib_create_inferior_hook): Arrange for gdb to be notified when significant shared library events occur. * hppa-tdep.c (find_unwind_entry): No longer static. First cut at the machine independent changes for 7363. Also includes code to automatically track shl_load/shl_unload calls on hpux. --- gdb/hppa-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/hppa-tdep.c') diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 4fee8b0..544d726 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent code for the HP PA architecture, for GDB. - Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995 + Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. Contributed by the Center for Software Science at the @@ -487,7 +487,7 @@ read_unwind_info (objfile) contains a sorted list of struct unwind_table_entry. Since we do a binary search of the unwind tables, we depend upon them to be sorted. */ -static struct unwind_table_entry * +struct unwind_table_entry * find_unwind_entry(pc) CORE_ADDR pc; { -- cgit v1.1