This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17133] gdb can't load libraries with >2G .debug_info sections
- From: "amodra at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 11 Jul 2014 16:01:24 +0000
- Subject: [Bug gdb/17133] gdb can't load libraries with >2G .debug_info sections
- Auto-submitted: auto-generated
- References: <bug-17133-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17133
--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Tom, yes, I know you can fix the problem local to gdb but it seems quite a
horrible restriction to only allow 2G obstacks with today's 64-bit machines.
Doug, you can set the alignment to 8 with current obstack.h. In place of
obstack_init (&obstack);
use
#define gdb_obstack_init(obstack) \
obstack_specify_allocation(obstack, 0, 8, \
obstack_chunk_alloc, obstack_chunk_free)
gdb_obstack_init (&obstack);
--
You are receiving this mail because:
You are on the CC list for the bug.