gdb/amd64: replace xmalloc/alloca with gdb::byte_vector
authorAndrew Burgess <aburgess@redhat.com>
Thu, 23 Feb 2023 10:34:39 +0000 (10:34 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Sat, 25 Feb 2023 11:09:15 +0000 (11:09 +0000)
commit83750264d7bab2627e59b6682710bbfdc588bbb4
tree09fa71002d83dd94f83f4b23db6a54ac23cba47c
parent82341e9798202fa94b801b1428a8bf68dc80149a
gdb/amd64: replace xmalloc/alloca with gdb::byte_vector

Replace a couple of uses of xmalloc and alloc with a gdb::byte_vector
local variable instead.

There should be no user visible changes after this commit.

Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/amd64-tdep.c