aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-11-16 18:05:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-11-16 18:05:26 +0000
commit283de25facd72dba681532058fdb453eb8055aed (patch)
tree8ef44f98b91baf00a5da6da3325c74cd0d91d3ad /gdb
parent808104c836be66c4a6a53b138b12393c4c50674e (diff)
downloadgdb-283de25facd72dba681532058fdb453eb8055aed.zip
gdb-283de25facd72dba681532058fdb453eb8055aed.tar.gz
gdb-283de25facd72dba681532058fdb453eb8055aed.tar.bz2
Remove some unused macros related to the old load/unload catchpoints.
* breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME) (SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK) (SOLIB_CREATE_CATCH_UNLOAD_HOOK): Delete. No longer used.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/breakpoint.c53
2 files changed, 8 insertions, 53 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e27cee9..16855a9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2008-11-16 Joel Brobecker <brobecker@adacore.com>
+ Remove some unused macros related to the old load/unload catchpoints.
+
+ * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME)
+ (SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK)
+ (SOLIB_CREATE_CATCH_UNLOAD_HOOK): Delete. No longer used.
+
+2008-11-16 Joel Brobecker <brobecker@adacore.com>
+
Remove support for catch load and catch unload commands.
* breakpoint.h (enum bptype): Remove bp_catch_load and bp_catch_unload.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 9ac27e7..847dbdd 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -325,59 +325,6 @@ VEC(bp_location_p) *moribund_locations = NULL;
int breakpoint_count;
-/* This function returns a pointer to the string representation of the
- pathname of the dynamically-linked library that has just been
- loaded.
-
- This function must be used only when SOLIB_HAVE_LOAD_EVENT is TRUE,
- or undefined results are guaranteed.
-
- This string's contents are only valid immediately after the
- inferior has stopped in the dynamic linker hook, and becomes
- invalid as soon as the inferior is continued. Clients should make
- a copy of this string if they wish to continue the inferior and
- then access the string. */
-
-#ifndef SOLIB_LOADED_LIBRARY_PATHNAME
-#define SOLIB_LOADED_LIBRARY_PATHNAME(pid) ""
-#endif
-
-/* This function returns a pointer to the string representation of the
- pathname of the dynamically-linked library that has just been
- unloaded.
-
- This function must be used only when SOLIB_HAVE_UNLOAD_EVENT is
- TRUE, or undefined results are guaranteed.
-
- This string's contents are only valid immediately after the
- inferior has stopped in the dynamic linker hook, and becomes
- invalid as soon as the inferior is continued. Clients should make
- a copy of this string if they wish to continue the inferior and
- then access the string. */
-
-#ifndef SOLIB_UNLOADED_LIBRARY_PATHNAME
-#define SOLIB_UNLOADED_LIBRARY_PATHNAME(pid) ""
-#endif
-
-/* This function is called by the "catch load" command. It allows the
- debugger to be notified by the dynamic linker when a specified
- library file (or any library file, if filename is NULL) is loaded. */
-
-#ifndef SOLIB_CREATE_CATCH_LOAD_HOOK
-#define SOLIB_CREATE_CATCH_LOAD_HOOK(pid,tempflag,filename,cond_string) \
- error (_("catch of library loads not yet implemented on this platform"))
-#endif
-
-/* This function is called by the "catch unload" command. It allows
- the debugger to be notified by the dynamic linker when a specified
- library file (or any library file, if filename is NULL) is
- unloaded. */
-
-#ifndef SOLIB_CREATE_CATCH_UNLOAD_HOOK
-#define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid, tempflag, filename, cond_string) \
- error (_("catch of library unloads not yet implemented on this platform"))
-#endif
-
/* Return whether a breakpoint is an active enabled breakpoint. */
static int
breakpoint_enabled (struct breakpoint *b)