aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-corefile.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-09-15 16:46:25 -0600
committerTom Tromey <tom@tromey.com>2025-10-11 13:27:10 -0600
commit23e3008c3eadd2825ebbd7953a894cfd58f89e12 (patch)
tree610e5d09c732e2bd4c4ab2c2dfdeaabf8b335d2d /gdb/python/py-corefile.c
parent6b0581fc925ab807647a0ff38f7f015bf94c0eb0 (diff)
downloadbinutils-23e3008c3eadd2825ebbd7953a894cfd58f89e12.zip
binutils-23e3008c3eadd2825ebbd7953a894cfd58f89e12.tar.gz
binutils-23e3008c3eadd2825ebbd7953a894cfd58f89e12.tar.bz2
Allocate compunit_symtab on heap
This patch changes compunit_symtab to be allocated on the heap, using 'new'. It also changes the container that holds these in the objfile. I chose to use an intrusive_list to store compunit_symtab because I think pointer stability is needed here. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33435 Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python/py-corefile.c')
0 files changed, 0 insertions, 0 deletions