]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/remote.c
Use byte_vector in remote.c:readahead_cache
authorTom Tromey <tom@tromey.com>
Sat, 17 Jun 2023 19:36:40 +0000 (13:36 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 20 Jun 2023 13:52:28 +0000 (07:52 -0600)
commit6b19f38ae331d2d889354fcd749e2478a868251c
tree39b6c72b5e7d9ea6073d5f69231e287a46497db9
parentb68e4ea64e99831032c5fc613ec432448cfc0c84
Use byte_vector in remote.c:readahead_cache

This patch changes the remote.c readahead_cache to use
gdb::byte_vector.  This simplifies the code by removing manual memory
management.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
gdb/remote.c