diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:03 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:03 +0100 |
commit | 074c89d29b4066a913991dd73ac35ce8742c1d9b (patch) | |
tree | e3b9df160113ce206b6ab78b2e444153f643e88d /gdbsupport/gdb_regex.h | |
parent | 363c5c8b973d72b4c2cba2c79ed0dcd98bc97934 (diff) | |
download | gdb-074c89d29b4066a913991dd73ac35ce8742c1d9b.zip gdb-074c89d29b4066a913991dd73ac35ce8742c1d9b.tar.gz gdb-074c89d29b4066a913991dd73ac35ce8742c1d9b.tar.bz2 |
aarch64: Rework parse_typed_reg interface
parse_typed_reg returned a register number and passed the
register type back using a pointer parameter. It seems simpler
to return the register entry instead, since that has both pieces
of information in one place.
The patch also replaces the boolean in_reg_list parameter with
a mask of flags. This hopefully makes calls easier to read
(more self-documenting than "true" or "false"), but more
importantly, it allows a later patch to add a second flag.
Diffstat (limited to 'gdbsupport/gdb_regex.h')
0 files changed, 0 insertions, 0 deletions