This is the mail archive of the gdb-prs@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]

[Bug gdb/17133] gdb can't load libraries with >2G .debug_info sections


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.


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