public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove remnant of Chill support
@ 2014-11-25 23:34 Doug Evans
  2014-12-03  2:39 ` Doug Evans
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2014-11-25 23:34 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove remnant of Chill support
  2014-11-25 23:34 [PATCH] Remove remnant of Chill support Doug Evans
@ 2014-12-03  2:39 ` Doug Evans
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Evans @ 2014-12-03  2:39 UTC (permalink / raw)
  To: gdb-patches

Doug Evans writes:
 > 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

Committed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-03  2:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 23:34 [PATCH] Remove remnant of Chill support Doug Evans
2014-12-03  2:39 ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).