aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-01-23 21:06:34 +0000
committerJeff Law <law@redhat.com>1996-01-23 21:06:34 +0000
commit87273c713f0e22999692252d3dcdbb5613ab5729 (patch)
tree72dfac044f46de43245498f663f6d03a918ad3b9 /gdb/NEWS
parentb96e1ce4f80e86b0f31901b5af49d571d3c65ed1 (diff)
downloadgdb-87273c713f0e22999692252d3dcdbb5613ab5729.zip
gdb-87273c713f0e22999692252d3dcdbb5613ab5729.tar.gz
gdb-87273c713f0e22999692252d3dcdbb5613ab5729.tar.bz2
* 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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 1d754cd..0867bde 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -19,6 +19,19 @@ The standard remote protocol now includes an option to send a break
rather than a ^C to the target in order to interrupt it. By default,
GDB will send ^C; to send a break, set the variable `remotebreak' to 1.
+* Automatic tracking of dynamic object loading (HPUX only at the moment).
+
+By default GDB will automatically keep track of objects as they are
+loaded and unloaded by the dynamic linker. By using the command
+"set stop-on-solib-events 1" you can arrange for GDB to stop the
+inferior when shared library events occur, thus allowing you to
+set breakpoints in shared libraries which are explicitly loaded by
+the inferior.
+
+Note this feature does not work on hpux8. On hpux9 you must link
+/usr/lib/end.o into your program. This feature should work automatically
+on hpux10.
+
*** Changes in GDB-4.15:
* Psymtabs for XCOFF