* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 24 Sep 2012 10:25:09 +0000 (10:25 +0000)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 24 Sep 2012 10:25:09 +0000 (10:25 +0000)
* p-valprint.c (pascal_type_print_base): Likewise.

gdb/ChangeLog
gdb/m2-typeprint.c
gdb/p-typeprint.c

index 0b1d7718e10275a3944fdd870f8f991a83dacc71..0a1ccdff41dfcac2daaa8d5ae21d9baddb614ee9 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
+       * p-valprint.c (pascal_type_print_base): Likewise.
+
 2012-09-22  Yao Qi  <yao@codesourcery.com>
 
        * remote.c (remote_get_trace_status): Remove setting default
index fb3d49c6de1808e9256962bf5554ade2745e2e4a..c735eb79d99a245be02faea9f31f74e6c7eff877 100644 (file)
@@ -587,7 +587,8 @@ m2_record_fields (struct type *type, struct ui_file *stream, int show,
 void
 m2_enum (struct type *type, struct ui_file *stream, int show, int level)
 {
-  int lastval, i, len;
+  LONGEST lastval;
+  int i, len;
 
   if (show < 0)
     {
index fceb97a07eeb2f2af090ad60464efce3cb34347d..794d09c759c339a92ec8fedd8c94a85fa43464e2 100644 (file)
@@ -440,7 +440,7 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show,
 {
   int i;
   int len;
-  int lastval;
+  LONGEST lastval;
   enum
     {
       s_none, s_public, s_private, s_protected
This page took 0.03004 seconds and 4 git commands to generate.