This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 3/3] Change cplus_specific to an alocated struct



Be sure to mention how you tested a patch series.


This was tested on Fedora 13 GCC 4.4.4 by running the test suit. No regressions.


I also used "maint print statistics":

./gdb/gdb gdb/testsuite/gdb.cp/namespace -ex 'b main' -ex 'r' -ex 'maint print statistics'

no changes in bcach but a couple of objfiles got bigger probably because of the obstack allocations.

diff [...]/before after
[...]
<   Total memory used for objfile obstack: 47475
---
 >   Total memory used for objfile obstack: 51539
70c70
<   Total memory used for objfile obstack: 767363
---
 >   Total memory used for objfile obstack: 820195
[...]

The files were:
/usr/lib64/libstdc++.so.6 and
[...]/gdb/testsuite/gdb.cp/namespace

Updated patch attached.


Attachment: dynamic-cplus_specific_3.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]