aboutsummaryrefslogtreecommitdiff
path: root/gdb/tic6x-linux-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-16 10:12:49 -0600
committerTom Tromey <tom@tromey.com>2022-06-12 10:49:48 -0600
commit93b527ef787b7c98611abd21bdd77de6c41769f1 (patch)
tree2ed7039b479e080e108387a9e7a53c2050d73f44 /gdb/tic6x-linux-tdep.c
parentd89120e9493281a60d6e7280e9cfa3741ea7e379 (diff)
downloadfsf-binutils-gdb-93b527ef787b7c98611abd21bdd77de6c41769f1.zip
fsf-binutils-gdb-93b527ef787b7c98611abd21bdd77de6c41769f1.tar.gz
fsf-binutils-gdb-93b527ef787b7c98611abd21bdd77de6c41769f1.tar.bz2
Use malloc for mutable addrmaps
Mutable addrmaps currently require an obstack. This was probably done to avoid having to call splay_tree_delete, but examination of the code shows that all mutable obstacks have a limited lifetime -- now it's simple to treat them as ordinary C++ objects, in some cases stack-allocating them, and have a destructor to make the needed call. This patch implements this change.
Diffstat (limited to 'gdb/tic6x-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions