Change linespec_result::location to be an event_location_up
authorTom Tromey <tom@tromey.com>
Mon, 10 Apr 2017 21:53:22 +0000 (15:53 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 12 Apr 2017 17:16:19 +0000 (11:16 -0600)
commit8e9e35b1808481735e2d1efbf70ed7396a845d8e
tree3d9c541a3593d66cde6ed2b42345a429c442b8a1
parent16e802b9c085ce354b1ab9e2fd25d00bf7626fa8
Change linespec_result::location to be an event_location_up

This is a follow-up to another patch.  It changes
linespec_result::location to be an event_location_up.

gdb/ChangeLog
2017-04-12  Tom Tromey  <tom@tromey.com>

* probe.c (parse_probes): Update.
* location.h (delete_event_location): Don't declare.
(event_location_deleter::operator()): Update.
* location.c (event_location_deleter::operator()): Rename from
delete_event_location.
* linespec.h (linespec_result) <location>: Change type to
event_location_up.
* linespec.c (canonicalize_linespec, event_location_to_sals)
(decode_objc): Update.
(linespec_result): Don't call delete_event_location.
* breakpoint.c (create_breakpoints_sal)
(bkpt_probe_create_sals_from_location)
(strace_marker_create_sals_from_location): Update.
gdb/ChangeLog
gdb/breakpoint.c
gdb/linespec.c
gdb/linespec.h
gdb/location.c
gdb/location.h
gdb/probe.c
This page took 0.032951 seconds and 4 git commands to generate.