]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 22 Mar 2013 20:41:46 +0000 (20:41 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 22 Mar 2013 20:41:46 +0000 (20:41 +0000)
commit8d40fd9add2648fb19d84f795f1027918c2958f0
tree1a06cdfe5abc6b06e81b2942303c0a0b53cf5553
parentf869097828539c0977233753b66ef14f8f1e9f32
gdb/
* exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
* remote.c (trace_error): Remove the special handling of '2'.
(readchar) <SERIAL_EOF>
(readchar) <SERIAL_ERROR>
(getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them.
(remote_get_trace_status): Call throw_exception if EX is
TARGET_CLOSE_ERROR.
* utils.c (perror_with_name): Rename to ...
(throw_perror_with_name): ... here.  New parameter errcode, describe it
in the function comment.
(perror_with_name): New function wrapper.
* utils.h (enum errors): New stub declaration.
(throw_perror_with_name): New declaration.

gdb/testsuite/
* gdb.server/server-kill.c: New file.
* gdb.server/server-kill.exp: New file.
gdb/ChangeLog
gdb/exceptions.h
gdb/remote.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/server-kill.c [new file with mode: 0644]
gdb/testsuite/gdb.server/server-kill.exp [new file with mode: 0644]
gdb/utils.c
gdb/utils.h