base: increase the GDB buffer size dynamically
authorCiro Santilli <ciro.santilli@arm.com>
Wed, 14 Nov 2018 00:00:01 +0000 (00:00 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Mon, 3 Dec 2018 10:43:15 +0000 (10:43 +0000)
commitcb5479e45a9d6c3166fbee6f12bce33a64c98258
treef91970360cf085dd6875bed94f41bc45960bbf5c
parent32e2157355b79af2c3b0af8429e5df3d4c7df562
base: increase the GDB buffer size dynamically

The size was not large enough for the 'G' packet on aarch64, which the
client sends to set registers.

This would lead to the stub not to be able to find the end of the input
packet and keep waiting forever.

Change-Id: Icb149f15a6c769371ebcb6ec5fbebc6170c31fc6
Reviewed-on: https://gem5-review.googlesource.com/c/14497
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/base/remote_gdb.cc
src/base/remote_gdb.hh