diff options
author | Keith Seitz <keiths@redhat.com> | 2015-08-11 17:09:35 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2015-08-11 17:09:35 -0700 |
commit | 5f700d83f7f3ea422d789c51a25f04818bf788d7 (patch) | |
tree | 7a8ba48430ff190d791fa9893396c4b7da3881da /gdb/break-catch-throw.c | |
parent | a12a06d74aa88361db80309d47185df900a89312 (diff) | |
download | gdb-5f700d83f7f3ea422d789c51a25f04818bf788d7.zip gdb-5f700d83f7f3ea422d789c51a25f04818bf788d7.tar.gz gdb-5f700d83f7f3ea422d789c51a25f04818bf788d7.tar.bz2 |
Explicit locations: rename "address string"/"addr_string" to "location"
This patch renames all occurrances of "addr_string" and "address
string" in the breakpoint/linespec APIs. This will emphasize the
change from address strings used in setting breakpoints (et al) to the
new locations-based API introduced in subsequent patches.
gdb/ChangeLog:
* breakpoint.h (struct breakpoint_ops) <create_sals_from_address>:
Renamed to create_sals_from_location.
<decode_linespec>: Renamed to decode_location.
Update all callers.
* breakpoint.c (create_sals_from_address_default): Renamed to ...
(create_sals_from_location_default): ... this.
(addr_string_to_sals): Renamed to ...
(location_to_sals): ... this.
(decode_linespec_default): Renamed to ...
(decode_location_default): ... this.
(base_breakpoint_create_sals_from_address): Renamed to ...
(base_breakpoint_create_sals_from_location): ... this.
(bkpt_create_sals_from_address): Renamed to ...
(bkpt_create_sals_from_location): ... this.
(bkpt_decode_linespec): Renamed to ...
(bkpt_decode_location): ... this.
(bkpt_probe_create_sals_from_address): Renamed to ...
(bkpt_probe_create_sals_from_location): ... this.
(tracepoint_create_sals_from_address): Renamed to ...
(tracepoint_create_sals_from_location): ... this.
(tracepoint_decode_linespec): Renamed to ...
(tracepoint_decode_location): ... this.
(tracepoint_probe_create_sals_from_address): Renamed to ...
(tracepoint_probe_create_sals_from_location): ... this.
(tracepoint_probe_decode_linespec): Renamed to ...
(tracepoint_probe_decode_location): ... this.
(strace_marker_create_sals_from_address): Renamed to ...
(strace_marker_create_sals_from_location): ... this.
(decode_linespec_default): Renamed to ...
(decode_location_default): ... this.
Diffstat (limited to 'gdb/break-catch-throw.c')
-rw-r--r-- | gdb/break-catch-throw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index f5616c8..927176f 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -228,7 +228,7 @@ re_set_exception_catchpoint (struct breakpoint *self) { char *spec = ASTRDUP (exception_functions[kind].function); - self->ops->decode_linespec (self, &spec, &sals); + self->ops->decode_location (self, &spec, &sals); } CATCH (ex, RETURN_MASK_ERROR) { |