From 6b1319cec2cc1753ca527533f78fe45069342dfa Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 19 Aug 2012 12:50:03 +0200 Subject: [PATCH] * .gdbinit: Use call instead of set when calling a function in the inferior. --- src/.gdbinit | 6 +++--- src/ChangeLog | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index c0a1bbfffd8..b703842f4cf 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -89,7 +89,7 @@ define pp set $tmp = $arg0 set $output_debug = print_output_debug_flag set print_output_debug_flag = 0 - set safe_debug_print ($tmp) + call safe_debug_print ($tmp) set print_output_debug_flag = $output_debug end document pp @@ -102,7 +102,7 @@ define pv set $tmp = "$arg0" set $output_debug = print_output_debug_flag set print_output_debug_flag = 0 - set safe_debug_print (find_symbol_value (intern ($tmp))) + call safe_debug_print (find_symbol_value (intern ($tmp))) set print_output_debug_flag = $output_debug end document pv @@ -1162,7 +1162,7 @@ end define xwhichsymbols set $output_debug = print_output_debug_flag set print_output_debug_flag = 0 - set safe_debug_print (which_symbols ($arg0, $arg1)) + call safe_debug_print (which_symbols ($arg0, $arg1)) set print_output_debug_flag = $output_debug end document xwhichsymbols diff --git a/src/ChangeLog b/src/ChangeLog index 84271438a81..a287474ec06 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2012-08-19 Andreas Schwab + * .gdbinit: Use call instead of set when calling a function in the + inferior. + * data.c (set_internal): Don't use set_blv_found. (Fkill_local_variable): Likewise. -- 2.39.5