diff options
author | Yao Qi <yao@codesourcery.com> | 2013-01-16 14:53:24 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-01-16 14:53:24 +0000 |
commit | 5a18e3023970ba2542ebdcbab920acbeabd672ce (patch) | |
tree | ac00b281a4269e810343c68a01e76bbdc71d5c1d | |
parent | 85e00e85485f96aaaef50cf8f2a8567c2c5ac9c0 (diff) | |
download | gdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.zip gdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.tar.gz gdb-5a18e3023970ba2542ebdcbab920acbeabd672ce.tar.bz2 |
gdb/
* printcmd.c (current_display_number): Make it static.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e7fc5c8..1014bb4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-01-16 Yao Qi <yao@codesourcery.com> + * printcmd.c (current_display_number): Make it static. + +2013-01-16 Yao Qi <yao@codesourcery.com> + * infcmd.c (step_once): Don't check '!single_inst' as it was checked before. diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 0c7eb1e..a576d88 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -122,7 +122,7 @@ show_print_symbol_filename (struct ui_file *file, int from_tty, So that we can disable it if we get a signal within it. -1 when not doing one. */ -int current_display_number; +static int current_display_number; struct display { |