diff options
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 817fa53..70c351f 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -2644,14 +2644,14 @@ agent_command_1 (char *exp, int eval) struct linespec_sals *iter; struct cleanup *old_chain; struct event_location *location; + struct decode_line_options opts; exp = skip_spaces (exp); init_linespec_result (&canonical); location = new_linespec_location (&exp); old_chain = make_cleanup_delete_event_location (location); - decode_line_full (location, DECODE_LINE_FUNFIRSTLINE, - (struct symtab *) NULL, 0, &canonical, - NULL, NULL); + init_decode_line_options (&opts); + decode_line_full (location, &canonical, &opts); make_cleanup_destroy_linespec_result (&canonical); exp = skip_spaces (exp); if (exp[0] == ',') |