diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gnu-nat.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6117bc9..cf1d1b9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index ffab91e..3da27d3 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3002,9 +3002,8 @@ 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 */ ; + /* Make this take effect immediately in a running process. */ + /* XXX */ ; inf->want_exceptions = val; } |