public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] Remove remnant of Chill support
Date: Tue, 25 Nov 2014 23:34:00 -0000	[thread overview]
Message-ID: <yjt2wq6i7t2n.fsf@ruffy.mtv.corp.google.com> (raw)

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

             reply	other threads:[~2014-11-25 23:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 23:34 Doug Evans [this message]
2014-12-03  2:39 ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yjt2wq6i7t2n.fsf@ruffy.mtv.corp.google.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).