aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache-dump.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-10-31 03:22:03 +0000
committerSimon Marchi <simon.marchi@efficios.com>2023-11-01 13:06:13 -0400
commitaab2d3a649d21a6c152233e05b95425a96b463b7 (patch)
tree32c7e07c2b1ba29ca01f712a3829afeccc09c123 /gdb/regcache-dump.c
parent5fbee060e807fbc317aa265eb7e25d1cf94a4dad (diff)
downloadgdb-aab2d3a649d21a6c152233e05b95425a96b463b7.zip
gdb-aab2d3a649d21a6c152233e05b95425a96b463b7.tar.gz
gdb-aab2d3a649d21a6c152233e05b95425a96b463b7.tar.bz2
gdb: use gdb::byte_vector instead of gdb::def_vector<gdb_byte>
Use the gdb::byte_vector typedef when possible. Change-Id: Ib2199201c052496992011ea02979de023d4d8a9a
Diffstat (limited to 'gdb/regcache-dump.c')
-rw-r--r--gdb/regcache-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache-dump.c b/gdb/regcache-dump.c
index 5f43895..585e02e 100644
--- a/gdb/regcache-dump.c
+++ b/gdb/regcache-dump.c
@@ -57,7 +57,7 @@ protected:
if (size == 0)
return;
- gdb::def_vector<gdb_byte> buf (size);
+ gdb::byte_vector buf (size);
auto status = m_regcache->cooked_read (regnum, buf.data ());
if (status == REG_UNKNOWN)