aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-08-06 13:47:55 +0100
committerGary Benson <gbenson@redhat.com>2014-08-28 15:06:47 +0100
commit50278d599da5f7536a1243a887c2a5fa12e099c1 (patch)
treef81cd4ad386423f44a89e86eef56a7a964ef711e /gdb/gdbserver/ChangeLog
parentaa96c426c674844a90e8fbea2cd184462191b498 (diff)
downloadgdb-50278d599da5f7536a1243a887c2a5fa12e099c1.zip
gdb-50278d599da5f7536a1243a887c2a5fa12e099c1.tar.gz
gdb-50278d599da5f7536a1243a887c2a5fa12e099c1.tar.bz2
Convert fatal to error in remote_prepare
This commit converts a call to fatal in remote_prepare with a call to error. remote_prepare is called precisely once, from main, at a point where jumping to toplevel will call exit (1), so error and fatal are functionally equivalent at this point. Note that remote_prepare calls perror_with_name (which calls error) so callers of remote_prepare must already handle the fact that it may exit via longjmp. gdb/gdbserver/ChangeLog: * remote-utils.c (remote_prepare): Replace fatal with error.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c3e4c935..dd89aab 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
2014-08-28 Gary Benson <gbenson@redhat.com>
+ * remote-utils.c (remote_prepare): Replace fatal with error.
+
+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.