summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-12-02 16:15:53 -0800
committerDoug Evans <dje@google.com>2014-12-02 16:15:53 -0800
commit47c6ee49907b49cbb804495b60abcba336f6b11d (patch)
tree6d6a61b8149cc8fbac0705d2cc51b282c540e648 /gdb
parent01828971bc571106e275b19a1a8f99ba71a99cb6 (diff)
downloadbinutils-gdb-47c6ee49907b49cbb804495b60abcba336f6b11d.tar.gz
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/valops.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f32b6b980b9..6182358b092 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/valops.c b/gdb/valops.c
index 1dac7388f31..4125fc032a2 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);