This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug macros/16233] New: possible memory optimization in macro reader
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 25 Nov 2013 16:10:49 +0000
- Subject: [Bug macros/16233] New: possible memory optimization in macro reader
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16233
Bug ID: 16233
Summary: possible memory optimization in macro reader
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: macros
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
Right now the macro code puts all the text of
the macros into the bcache.
However, since nothing unmaps the section data while the BFD is open,
any strings that can be used verbatim don't need to
be entered into the bcache. Instead pointers into the section
can be used directly.
This change would save some memory for -g3 objfiles.
I think at least the macro replacement text falls into this
category.
--
You are receiving this mail because:
You are on the CC list for the bug.