Simplify event_location_probe
authorTom Tromey <tom@tromey.com>
Fri, 14 Jan 2022 16:06:11 +0000 (09:06 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 18 Jan 2022 17:01:20 +0000 (10:01 -0700)
commit5947982f1dadfa72a6913f25cc4f56e137c7217e
tree10300e6cbb942bfa03a00af19c99027edea507e8
parent85e428a69f5b34770ec4f76168d3c8dbb3a454bf
Simplify event_location_probe

event_location_probe currently stores two strings, but really only
needs one.  This patch simplifies it and removes some unnecessary
copies as well.
gdb/location.c
gdb/location.h
gdb/probe.c