diff options
| author | Andreas Schwab | 2012-08-19 12:50:03 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2012-08-19 12:50:03 +0200 |
| commit | 6b1319cec2cc1753ca527533f78fe45069342dfa (patch) | |
| tree | c8247374d64250b9d7873c24daaecbc826532434 /src | |
| parent | 9e677988f40fcbcd0a2283cbc7f8b7b087427fae (diff) | |
| download | emacs-6b1319cec2cc1753ca527533f78fe45069342dfa.tar.gz emacs-6b1319cec2cc1753ca527533f78fe45069342dfa.zip | |
* .gdbinit: Use call instead of set when calling a function in the
inferior.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 6 | ||||
| -rw-r--r-- | 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 | |||
| 89 | set $tmp = $arg0 | 89 | set $tmp = $arg0 |
| 90 | set $output_debug = print_output_debug_flag | 90 | set $output_debug = print_output_debug_flag |
| 91 | set print_output_debug_flag = 0 | 91 | set print_output_debug_flag = 0 |
| 92 | set safe_debug_print ($tmp) | 92 | call safe_debug_print ($tmp) |
| 93 | set print_output_debug_flag = $output_debug | 93 | set print_output_debug_flag = $output_debug |
| 94 | end | 94 | end |
| 95 | document pp | 95 | document pp |
| @@ -102,7 +102,7 @@ define pv | |||
| 102 | set $tmp = "$arg0" | 102 | set $tmp = "$arg0" |
| 103 | set $output_debug = print_output_debug_flag | 103 | set $output_debug = print_output_debug_flag |
| 104 | set print_output_debug_flag = 0 | 104 | set print_output_debug_flag = 0 |
| 105 | set safe_debug_print (find_symbol_value (intern ($tmp))) | 105 | call safe_debug_print (find_symbol_value (intern ($tmp))) |
| 106 | set print_output_debug_flag = $output_debug | 106 | set print_output_debug_flag = $output_debug |
| 107 | end | 107 | end |
| 108 | document pv | 108 | document pv |
| @@ -1162,7 +1162,7 @@ end | |||
| 1162 | define xwhichsymbols | 1162 | define xwhichsymbols |
| 1163 | set $output_debug = print_output_debug_flag | 1163 | set $output_debug = print_output_debug_flag |
| 1164 | set print_output_debug_flag = 0 | 1164 | set print_output_debug_flag = 0 |
| 1165 | set safe_debug_print (which_symbols ($arg0, $arg1)) | 1165 | call safe_debug_print (which_symbols ($arg0, $arg1)) |
| 1166 | set print_output_debug_flag = $output_debug | 1166 | set print_output_debug_flag = $output_debug |
| 1167 | end | 1167 | end |
| 1168 | document xwhichsymbols | 1168 | document xwhichsymbols |
diff --git a/src/ChangeLog b/src/ChangeLog index 84271438a81..a287474ec06 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-08-19 Andreas Schwab <schwab@linux-m68k.org> | 1 | 2012-08-19 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 2 | ||
| 3 | * .gdbinit: Use call instead of set when calling a function in the | ||
| 4 | inferior. | ||
| 5 | |||
| 3 | * data.c (set_internal): Don't use set_blv_found. | 6 | * data.c (set_internal): Don't use set_blv_found. |
| 4 | (Fkill_local_variable): Likewise. | 7 | (Fkill_local_variable): Likewise. |
| 5 | 8 | ||