diff options
author | Doug Evans <dje@google.com> | 2014-12-02 16:15:53 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-12-02 16:15:53 -0800 |
commit | 47c6ee49907b49cbb804495b60abcba336f6b11d (patch) | |
tree | 6d6a61b8149cc8fbac0705d2cc51b282c540e648 /gdb/valops.c | |
parent | 01828971bc571106e275b19a1a8f99ba71a99cb6 (diff) | |
download | gdb-47c6ee49907b49cbb804495b60abcba336f6b11d.zip gdb-47c6ee49907b49cbb804495b60abcba336f6b11d.tar.gz gdb-47c6ee49907b49cbb804495b60abcba336f6b11d.tar.bz2 |
Remove remnant of Chill support.
gdb/ChangeLog:
* valops.c (do_search_struct_field): Remove remnant of Chill support.
Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 1dac738..4125fc0 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -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); |