diff options
-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 { |