aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2015-09-30 14:23:12 -0700
committerKeith Seitz <keiths@redhat.com>2015-10-01 11:48:39 -0700
commit23916b7dc0f2f05982da7a76726d931cf738d2cc (patch)
treeb08bad1994250bf0a7d849fe099fd6f5c2d7da80 /gdb/tracepoint.c
parent398e081380a204e3b9fb4eb4da069ccf471f930e (diff)
downloadgdb-users/keiths/intelligent-breakpoint_re_set.zip
gdb-users/keiths/intelligent-breakpoint_re_set.tar.gz
gdb-users/keiths/intelligent-breakpoint_re_set.tar.bz2
Initial publication of breakpoint reset project.users/keiths/intelligent-breakpoint_re_set
This is a work-in-progress publication of an intelligent breakpoint_re_set redesign. See the project wiki page for more information: https://sourceware.org/gdb/wiki/BreakpointReset
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 6ca66e7..9ff61e3 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -2713,6 +2713,7 @@ scope_info (char *args, int from_tty)
int regno;
struct event_location *location;
struct cleanup *back_to;
+ struct decode_line_options options;
if (args == 0 || *args == 0)
error (_("requires an argument (function, "
@@ -2720,7 +2721,8 @@ scope_info (char *args, int from_tty)
location = string_to_event_location (&args, current_language);
back_to = make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ init_decode_line_options (&options);
+ sals = decode_line_1 (location, &options);
if (sals.nelts == 0)
{
/* Presumably decode_line_1 has already warned. */