diff options
author | Per Bothner <per@bothner.com> | 1994-03-30 05:23:00 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-03-30 05:23:00 +0000 |
commit | 73cd3b4911899b642e8b560cec05180a40480feb (patch) | |
tree | 4cf693c9b914196a84be63938d031ae62a8bf7e8 | |
parent | 0c9935502ff2db25eabe36ee00ddc3d4c02cf3ca (diff) | |
download | gdb-73cd3b4911899b642e8b560cec05180a40480feb.zip gdb-73cd3b4911899b642e8b560cec05180a40480feb.tar.gz gdb-73cd3b4911899b642e8b560cec05180a40480feb.tar.bz2 |
* ch-lang.c (chill_is_varying_struct): Magic string is
was "<var_length>" is now "__var_length" (more portable).
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ch-lang.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0bcefda..b4fbf95 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 "<var_length>" 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 5d9d6fa..f7d9212 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), "<var_length>") != 0) + if (strcmp (TYPE_FIELD_NAME (type, 0), "__var_length") != 0) return 0; return 1; } |