From: Per Bothner Date: Wed, 30 Mar 1994 05:23:00 +0000 (+0000) Subject: * ch-lang.c (chill_is_varying_struct): Magic string is X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73cd3b4911899b642e8b560cec05180a40480feb;p=binutils-gdb.git * ch-lang.c (chill_is_varying_struct): Magic string is was "" is now "__var_length" (more portable). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0bcefda00da..b4fbf953bd4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * ch-lang.c (chill_is_varying_struct): Magic string is + was "" is now "__var_length" (more portable). + Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * remote.c (getpkt): If we get a timeout, actually retry rather diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index 5d9d6fa670b..f7d92121853 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -192,7 +192,7 @@ chill_is_varying_struct (type) return 0; if (TYPE_NFIELDS (type) != 2) return 0; - if (strcmp (TYPE_FIELD_NAME (type, 0), "") != 0) + if (strcmp (TYPE_FIELD_NAME (type, 0), "__var_length") != 0) return 0; return 1; }