Use gdb::byte_vector in agent_expr
authorTom Tromey <tom@tromey.com>
Sat, 17 Jun 2023 18:43:04 +0000 (12:43 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 20 Jun 2023 17:00:19 +0000 (11:00 -0600)
commit6f96f4854f1dcfa15c1ba87f76d868513bb14276
tree172ad17431084c01adb3100bfcc981c0f70686a2
parent90db289d0d0f36d993788c9218bd1616f792eb08
Use gdb::byte_vector in agent_expr

This changes agent_expr to use gdb::byte_vector rather than manually
reimplementing a vector.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
gdb/ax-gdb.c
gdb/ax-general.c
gdb/ax.h
gdb/dwarf2/loc.c
gdb/remote.c
gdb/tracepoint.c