[PATCH] Remove remnant of Chill support

Doug Evans dje@google.com
Tue Nov 25 23:34:00 GMT 2014


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);
 



More information about the Gdb-patches mailing list