aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorAlexandra Hájková <ahajkova@redhat.com>2024-11-18 17:23:33 +0100
committerAlexandra Hájková <ahajkova@redhat.com>2024-11-25 16:58:52 +0100
commit280cdb642ba88ede148cd1d3a02375520f62ce1c (patch)
tree96a2aee36f9503ebec746e84f91eb32e85108e88 /gdb/python/python-internal.h
parent3b00205cd86c4ecda8e84f14d0ca81119d53a506 (diff)
downloadbinutils-280cdb642ba88ede148cd1d3a02375520f62ce1c.zip
binutils-280cdb642ba88ede148cd1d3a02375520f62ce1c.tar.gz
binutils-280cdb642ba88ede148cd1d3a02375520f62ce1c.tar.bz2
gdbreplay: Calculate the checksum if missing
Recalculate the checksum and replace whatever is at the end of the packet with the newly calculated checksum. Then replay the packet with the checksum added. The motivation for this change is that I'd like to add a TCL test which starts a communication with gdbsever setting the remotelog file. Then, it modifies the remotelog, injects an error message instead of the expected replay to some packet in order to test GDB reacts to the error response properly. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions