diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2025-01-09 09:06:00 +0100 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2025-01-09 09:06:00 +0100 |
commit | 60d95017ec97801b96181a29d1554e2ec69905cf (patch) | |
tree | 8d064876140332aa24e6b1d0d4e4efae0f12d8fb /gdb/python | |
parent | 42bcf692abd52ec1cb9d4bf3eca545e3b33fe536 (diff) | |
download | binutils-60d95017ec97801b96181a29d1554e2ec69905cf.zip binutils-60d95017ec97801b96181a29d1554e2ec69905cf.tar.gz binutils-60d95017ec97801b96181a29d1554e2ec69905cf.tar.bz2 |
gdbserver: dump 'xx...x' in collect_register_as_string for unavailable register
Fix 'collect_register_as_string' so that unavailable registers are
dumped as 'xx...x' instead of arbitrary values, in particular when
reporting expedited registers in a resume reply packet. This change
gives the opportunity that we can reuse 'collect_register_as_string'
in 'registers_to_string' for additional code simplification.
Reviewed-By: Luis Machado <luis.machado@arm.com>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions