From 47c6ee49907b49cbb804495b60abcba336f6b11d Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 2 Dec 2014 16:15:53 -0800 Subject: Remove remnant of Chill support. gdb/ChangeLog: * valops.c (do_search_struct_field): Remove remnant of Chill support. Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e --- gdb/valops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/valops.c') 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); -- cgit v1.1