gdbserver: Fixup previous patch
authorPedro Alves <pedro@palves.net>
Mon, 21 Mar 2022 16:58:23 +0000 (16:58 +0000)
committerPedro Alves <pedro@palves.net>
Mon, 21 Mar 2022 17:01:49 +0000 (17:01 +0000)
commit4414150d33212f5f395c3bf8a940bccf80ffc508
tree3c3fe0d2df9661c1151a5e207dc0dc6e2758020a
parent04f0c03a22135c7eefa47ed99c03e5b3dc9a34e2
gdbserver: Fixup previous patch

The previous prepare_resume_reply change missed updating the 'buf'
reference that overwrites the 'T', so if 'buf' was advanced, we'd
still overwrite the wrong character.  This fixes it.

Change-Id: Ia8ce433366b85af4e268c1c49e7b447da3130a4d
gdbserver/remote-utils.cc