From: Andreas Schwab Date: Sun, 19 Aug 2012 10:50:03 +0000 (+0200) Subject: * .gdbinit: Use call instead of set when calling a function in the X-Git-Tag: emacs-24.2.90~609 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b1319cec2cc1753ca527533f78fe45069342dfa;p=emacs.git * .gdbinit: Use call instead of set when calling a function in the inferior. --- 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.