aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/utils.cc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-12 15:45:08 -0700
committerTom Tromey <tom@tromey.com>2020-02-12 15:51:58 -0700
commit0d404d447ae34e31bdf58ba09c5d3254db3766e1 (patch)
treeee47cdf3f464aba9c516d2ea46fa4885f64d9432 /gdbserver/utils.cc
parenta7a3ae5c02d6d8711c2c336b9b809d05211fc497 (diff)
downloadbinutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.zip
binutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.tar.gz
binutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.tar.bz2
Add per-unit obstack
This adds an auto_obstack to the DWARF frame comp_unit object, and then changes the remaining code here to use the comp_unit obstack rather than the objfile obstack. At this point, all the storage for frame data is self-contained -- that is, it is independent of the objfile. gdb/ChangeLog 2020-02-12 Tom Tromey <tom@tromey.com> * dwarf2/frame.c (struct comp_unit) <obstack>: New member. (decode_frame_entry_1): Use the comp_unit obstack.
Diffstat (limited to 'gdbserver/utils.cc')
0 files changed, 0 insertions, 0 deletions