This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Remove remnant of Chill support
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 25 Nov 2014 15:34:40 -0800
- Subject: [PATCH] Remove remnant of Chill support
- Authentication-results: sourceware.org; auth=none
Hi.
I happened to notice this remnant of the old Chill support
which has long since been removed.
2014-11-25 Doug Evans <dje@google.com>
* valops.c (do_search_struct_field): Remove remnant of chill support.
Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
diff --git a/gdb/valops.c b/gdb/valops.c
index 2a1db90..03c9f03 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1824,9 +1824,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);