aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/coff-pe-read.c16
2 files changed, 13 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7551eaf..7d20af0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-03-26 Pedro Alves <palves@redhat.com>
+ * coff-pe-read.c (_initialize_coff_pe_read): Make the command
+ zuinteger instead of uinteger.
+
+2013-03-26 Pedro Alves <palves@redhat.com>
+
* record.c (record_insn_history_size_setshow_var)
(record_call_history_size_setshow_var): New globals.
(command_size_to_target_size): New function.
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c
index c930bac..01e9b51 100644
--- a/gdb/coff-pe-read.c
+++ b/gdb/coff-pe-read.c
@@ -707,12 +707,12 @@ void _initialize_coff_pe_read (void);
void
_initialize_coff_pe_read (void)
{
- add_setshow_uinteger_cmd ("coff_pe_read", class_maintenance,
- &debug_coff_pe_read,
- _("Set coff PE read debugging."),
- _("Show coff PE read debugging."),
- _("When set, debugging messages for coff reading "
- "of exported symbols are displayed."),
- NULL, show_debug_coff_pe_read,
- &setdebuglist, &showdebuglist);
+ add_setshow_zuinteger_cmd ("coff_pe_read", class_maintenance,
+ &debug_coff_pe_read,
+ _("Set coff PE read debugging."),
+ _("Show coff PE read debugging."),
+ _("When set, debugging messages for coff reading "
+ "of exported symbols are displayed."),
+ NULL, show_debug_coff_pe_read,
+ &setdebuglist, &showdebuglist);
}