public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 6/6] Remove an empty-body 'if' statement
Date: Mon, 06 Jan 2014 03:56:00 -0000	[thread overview]
Message-ID: <1388980498-10886-7-git-send-email-yao@codesourcery.com> (raw)
In-Reply-To: <1388980498-10886-1-git-send-email-yao@codesourcery.com>

This patch removes the if statement and the comments together.

gdb:

2014-01-06  Yao Qi  <yao@codesourcery.com>

	* gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
	statement.
---
 gdb/gnu-nat.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 7397ec8..f8c8e68 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -3002,10 +3002,6 @@ set_exceptions_cmd (char *args, int from_tty)
   struct inf *inf = cur_inf ();
   int val = parse_bool_arg (args, "set exceptions");
 
-  if (inf->task && inf->want_exceptions != val)
-    /* Make this take effect immediately in a running process.  */
-    /* XXX */ ;
-
   inf->want_exceptions = val;
 }
 
-- 
1.7.7.6

  parent reply	other threads:[~2014-01-06  3:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06  3:56 [PATCH 0/6 OBV] Fix compilation errors for hurd Yao Qi
2014-01-06  3:56 ` [PATCH 5/6] Add qualifier 'const' to argument args Yao Qi
2014-01-06  3:56 ` [PATCH 2/6] Remove declaration of inf_tid_to_proc Yao Qi
2014-01-06  3:56 ` [PATCH 1/6] Fix no previous prototype for '_initialize_gnu_nat' [-Werror=missing-prototypes] Yao Qi
2014-01-06  3:56 ` Yao Qi [this message]
2014-01-06  3:56 ` [PATCH 4/6] Use void for empty argument list in trace_me Yao Qi
2014-01-06  3:56 ` [PATCH 3/6] Make functions static Yao Qi
2014-01-06 16:44 ` [PATCH 0/6 OBV] Fix compilation errors for hurd Tom Tromey
2014-01-07  7:14   ` Yao Qi

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=1388980498-10886-7-git-send-email-yao@codesourcery.com \
    --to=yao@codesourcery.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).