]> git.eshelyaron.com Git - emacs.git/commitdiff
* .gdbinit: Use call instead of set when calling a function in the
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 19 Aug 2012 10:50:03 +0000 (12:50 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 19 Aug 2012 10:50:03 +0000 (12:50 +0200)
inferior.

src/.gdbinit
src/ChangeLog

index c0a1bbfffd815c68d8f1f5c0d90a661c44113ec1..b703842f4cf45a692ef2a76a2100fd9b4a061deb 100644 (file)
@@ -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
index 84271438a81fec60bbe9e3480a62c9c1db0b6d79..a287474ec06d1caf4b2ede9690aab66f5abc7fee 100644 (file)
@@ -1,5 +1,8 @@
 2012-08-19  Andreas Schwab  <schwab@linux-m68k.org>
 
+       * .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.