diff options
author | Gary Benson <gbenson@redhat.com> | 2014-08-06 11:57:14 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-28 15:06:46 +0100 |
commit | aa96c426c674844a90e8fbea2cd184462191b498 (patch) | |
tree | 6f06335efd35b552b587b128f01a4ecf556ef724 /gdb/gdbserver/ChangeLog | |
parent | f7160e97410b4b65330e5f23d82e8879c908de50 (diff) | |
download | gdb-aa96c426c674844a90e8fbea2cd184462191b498.zip gdb-aa96c426c674844a90e8fbea2cd184462191b498.tar.gz gdb-aa96c426c674844a90e8fbea2cd184462191b498.tar.bz2 |
Downgrade fatal to warning in linux_async
This commit downgrades a fatal error to a warning in linux_async.
linux_async is called from two different places in gdbserver:
Via target_async from handle_accept_event. The argument
is always zero, so the warning will never be printed here.
Via start_non_stop from handle_general_set. This prints
its own error message to stderr on failure, which will
be preceded by the warning if it is emitted.
gdb/gdbserver/ChangeLog:
* linux-low.c (linux_async): Replace fatal with warning.
Tidy up and return.
(linux_start_non_stop): Return -1 if linux_async failed.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ec3fc93..c3e4c935 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2014-08-28 Gary Benson <gbenson@redhat.com> + * linux-low.c (linux_async): Replace fatal with warning. + Tidy up and return. + (linux_start_non_stop): Return -1 if linux_async failed. + +2014-08-28 Gary Benson <gbenson@redhat.com> + * linux-x86-low.c (i386_dr_low_set_addr): Replace check with gdb_assert. (i386_dr_low_get_addr): Remove vague comment. |