location = string_to_event_location (&args, current_language);
cleanup = make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, NULL, 0);
if (sals.nelts == 1)
{
resolve_sal_pc (&sals.sals[0]);
args = Tcl_GetStringFromObj (objv[1], NULL);
location = string_to_event_location (&args, current_language);
cleanup = make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, NULL, 0);
if (sals.nelts == 1)
Tcl_SetIntObj (result_ptr->obj_ptr, sals.sals[0].line);
else
args = Tcl_GetStringFromObj (objv[1], NULL);
location = string_to_event_location (&args, current_language);
cleanup = make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, NULL, 0);
if (sals.nelts == 1)
Tcl_SetStringObj (result_ptr->obj_ptr, sals.sals[0].symtab->filename, -1);
else
args = Tcl_GetStringFromObj (objv[1], NULL);
location = string_to_event_location (&args, current_language);
cleanup = make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, NULL, 0);
if (sals.nelts == 1)
{
resolve_sal_pc (&sals.sals[0]);
args = Tcl_GetStringFromObj (objv[1], NULL);
location = string_to_event_location (&args, current_language);
make_cleanup_delete_event_location (location);
- sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, 0);
+ sals = decode_line_1 (location, DECODE_LINE_FUNFIRSTLINE, NULL, NULL, 0);
if (sals.nelts == 0)
{
gdbtk_set_result (interp, "error decoding line");
diff -Naurp a/gdb/configure.ac b/gdb/configure.ac
--- a/gdb/configure.ac 2015-03-09 14:32:57.356695263 +0100
+++ b/gdb/configure.ac 2015-03-13 16:09:14.733115076 +0100
-@@ -2028,60 +2028,32 @@ if test "${enable_gdbtk}" = "yes"; then
+@@ -2036,60 +2036,32 @@ if test "${enable_gdbtk}" = "yes"; then
if test -z "${no_tcl}" -a -z "${no_tk}"; then
SC_LOAD_TCLCONFIG