This patch removes the if statement and the comments together.
gdb:
2014-01-07 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
statement.
2014-01-07 Yao Qi <yao@codesourcery.com>
2014-01-07 Yao Qi <yao@codesourcery.com>
+ * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
+ statement.
+
+2014-01-07 Yao Qi <yao@codesourcery.com>
+
* gnu-nat.c (info_port_rights): Add qualifier const to
argument args.
* gnu-nat.c (info_port_rights): Add qualifier const to
argument args.
struct inf *inf = cur_inf ();
int val = parse_bool_arg (args, "set exceptions");
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 */ ;
+ /* Make this take effect immediately in a running process. */
+ /* XXX */ ;
inf->want_exceptions = val;
}
inf->want_exceptions = val;
}