Remove remnant of Chill support.
authorDoug Evans <dje@google.com>
Wed, 3 Dec 2014 00:15:53 +0000 (16:15 -0800)
committerDoug Evans <dje@google.com>
Wed, 3 Dec 2014 00:15:53 +0000 (16:15 -0800)
gdb/ChangeLog:

* valops.c (do_search_struct_field): Remove remnant of Chill support.
Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e

gdb/ChangeLog
gdb/valops.c

index f32b6b980b93b2180bc37a4abee97a15bdca2162..6182358b092e360ba8138fa4bde2058fbbd4480a 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-02  Doug Evans  <dje@google.com>
+
+       * valops.c (do_search_struct_field): Remove remnant of Chill support.
+       Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
+
 2014-12-02  Simon Marchi  <simon.marchi@ericsson.com>
 
        * common/cleanups.c (make_cleanup_dtor): Fix comment typo.
index 1dac7388f310f8b358662fcbb599640ee34330df..4125fc032a22f73cbdf883177573002be17208f7 100644 (file)
@@ -1825,9 +1825,7 @@ do_search_struct_field (const char *name, struct value *arg1, int offset,
          }
 
        if (t_field_name
-           && (t_field_name[0] == '\0'
-               || (TYPE_CODE (type) == TYPE_CODE_UNION
-                   && (strcmp_iw (t_field_name, "else") == 0))))
+           && t_field_name[0] == '\0')
          {
            struct type *field_type = TYPE_FIELD_TYPE (type, i);