From: Siddhesh Poyarekar Date: Mon, 24 Sep 2012 10:25:09 +0000 (+0000) Subject: * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4aa388a2099d88f1d521a79bdfabb0501a03f1a;p=binutils-gdb.git * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. * p-valprint.c (pascal_type_print_base): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0b1d7718e10..0a1ccdff41d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-09-24 Siddhesh Poyarekar + + * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. + * p-valprint.c (pascal_type_print_base): Likewise. + 2012-09-22 Yao Qi * remote.c (remote_get_trace_status): Remove setting default diff --git a/gdb/m2-typeprint.c b/gdb/m2-typeprint.c index fb3d49c6de1..c735eb79d99 100644 --- a/gdb/m2-typeprint.c +++ b/gdb/m2-typeprint.c @@ -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) { diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index fceb97a07ee..794d09c759c 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -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