]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
remote.c: Make packet_ok return struct packet_result
authorAlexandra Hájková <ahajkova@redhat.com>
Thu, 8 Feb 2024 17:06:16 +0000 (18:06 +0100)
committerAlexandra Hájková <ahajkova@redhat.com>
Mon, 8 Apr 2024 11:46:03 +0000 (13:46 +0200)
commit94a94c904da29bb733c19b5a0a168557c1819720
tree6f6f447f6b9c86fd36bb920b55ba9d9f326c809d
parent3623271997a5c0d79609aa6a1f35ef61b4469054
remote.c: Make packet_ok return struct packet_result

This allows the error message stored in a packet_result to be easily
printed in the calling function.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/remote.c