diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-11-05 14:03:17 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-11-25 16:45:25 +0000 |
commit | 2778a124e30439c1801d3d19a47d8233935051af (patch) | |
tree | 90344e0da7741ecea0cce12e16aad1f7bbc09485 | |
parent | 280cdb642ba88ede148cd1d3a02375520f62ce1c (diff) | |
download | binutils-2778a124e30439c1801d3d19a47d8233935051af.zip binutils-2778a124e30439c1801d3d19a47d8233935051af.tar.gz binutils-2778a124e30439c1801d3d19a47d8233935051af.tar.bz2 |
gdb: remove bp_location::objfile
The bp_location::objfile member variable is never used, so lets delete
it.
There should be no user visible changes after this commit.
-rw-r--r-- | gdb/breakpoint.c | 1 | ||||
-rw-r--r-- | gdb/breakpoint.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 9983e90..9c0d39b 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -8594,7 +8594,6 @@ code_breakpoint::add_location (const symtab_and_line &sal) new_loc->symtab = sal.symtab; new_loc->symbol = sal.symbol; new_loc->msymbol = sal.msymbol; - new_loc->objfile = sal.objfile; breakpoint::add_location (*new_loc); diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index cef1d72..1c890f7 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -513,9 +513,6 @@ public: originally set on a GNU ifunc symbol. */ const minimal_symbol *msymbol = NULL; - /* The objfile the symbol or minimal symbol were found in. */ - const struct objfile *objfile = NULL; - /* Return a string representation of the bp_location. This is only meant to be used in debug messages. */ std::string to_string () const; |