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/16201] internal error on a cygwin program linked against a DLL with no .data section


https://sourceware.org/bugzilla/show_bug.cgi?id=16201

--- Comment #13 from Tom Tromey <tromey at redhat dot com> ---
Ok, maybe I see.  I was able to reproduce it with

add-symbol-file icudt49.dll 0x0 -s .rdata 0x10000 -s rsrc 0x20000

This avoids the cleanup code in the obvious way (duh!) - 
at the end of init_objfile_sect_indices there is a non-zero
offset, so this code is never used.

Also, I tried with git master and it still fails there.

-- 
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]