From 23916b7dc0f2f05982da7a76726d931cf738d2cc Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 30 Sep 2015 14:23:12 -0700 Subject: Initial publication of breakpoint reset project. 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 --- gdb/python/python.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index 1c2d5c6..156500a 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -748,7 +748,13 @@ gdbpy_decode_line (PyObject *self, PyObject *args) TRY { if (location != NULL) - sals = decode_line_1 (location, 0, 0, 0); + { + struct decode_line_options options; + + init_decode_line_options (&options); + options.flags = 0; + sals = decode_line_1 (location, &options); + } else { set_default_source_symtab_and_line (); -- cgit v1.1