diff options
author | Tom Tromey <tromey@adacore.com> | 2023-02-16 10:25:23 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-06 08:09:17 -0700 |
commit | c52e4861c61926a1e22e56837487b819e2dc3cc8 (patch) | |
tree | 7cad19294a190a1d7b9d2085a21ad9797574185c | |
parent | 72ee804c9200d4e860c9802e1e1e9b315f221ab8 (diff) | |
download | binutils-c52e4861c61926a1e22e56837487b819e2dc3cc8.zip binutils-c52e4861c61926a1e22e56837487b819e2dc3cc8.tar.gz binutils-c52e4861c61926a1e22e56837487b819e2dc3cc8.tar.bz2 |
Remove exception_catchpoint::resources_needed
exception_catchpoint::resources_needed has a FIXME comment that I
think makes this method obsolete. Also, I note that similar
catchpoints, for example Ada catchpoints, don't have this method.
This patch removes the method. Regression tested on x86-64 Fedora 36.
-rw-r--r-- | gdb/break-catch-throw.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index ab7899e..457446e 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -94,13 +94,6 @@ struct exception_catchpoint : public code_breakpoint void check_status (struct bpstat *bs) override; struct bp_location *allocate_location () override; - /* FIXME this is temporary - until ordinary breakpoints have been - converted. */ - int resources_needed (const struct bp_location *) override - { - return 1; - } - /* The kind of exception catchpoint. */ enum exception_event_kind kind; |