]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use std::string for disassembler options
authorTom Tromey <tromey@adacore.com>
Thu, 21 Mar 2024 17:15:56 +0000 (11:15 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Mar 2024 19:17:43 +0000 (13:17 -0600)
commitc05dd51122c2d654031b04e02ad0ea5b53ffe5e2
treedf883998b862b998f58d2b1edefa8bc96a84c725
parentaf25053d5f9e1867bd0df1d5f168c803e1d7d015
Use std::string for disassembler options

I noticed that the disassembler_options code uses manual memory
management.  It seemed simpler to replace this with std::string.

Approved-By: John Baldwin <jhb@FreeBSD.org>
gdb/arc-tdep.c
gdb/arch-utils.c
gdb/arm-tdep.c
gdb/disasm.c
gdb/gdbarch-gen.h
gdb/gdbarch.c
gdb/gdbarch_components.py
gdb/mips-tdep.c
gdb/riscv-tdep.c
gdb/rs6000-tdep.c
gdb/s390-tdep.c