aboutsummaryrefslogtreecommitdiff
path: root/mkdep
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2025-01-29 10:50:32 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2025-01-29 11:17:35 +0100
commit0cefb59c18b5ceaa5e53d8576b3a653f42ab6ada (patch)
treef8612d436f1d4bb4493ac359873a877d37c25c68 /mkdep
parent84da4a1ea0ae58ef13ce81586f031ca53eb40112 (diff)
downloadgdb-0cefb59c18b5ceaa5e53d8576b3a653f42ab6ada.zip
gdb-0cefb59c18b5ceaa5e53d8576b3a653f42ab6ada.tar.gz
gdb-0cefb59c18b5ceaa5e53d8576b3a653f42ab6ada.tar.bz2
gdbserver: fix the declared type of register_status in regcache
The register_status field of regcache is declared as `unsigned char *`. This is incorrect, because `enum register_status` from gdbsupport/common-regcache.h is based on signed char and REG_UNAVAILABLE is defined as -1. Fix the declared type. Now that we are modifying the declaration, also use a unique_ptr and make the field private. The get/set methods already use the correct type, but we update cast operations in two places. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'mkdep')
0 files changed, 0 insertions, 0 deletions