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 #4 from Tom Tromey <tromey at redhat dot com> ---
(In reply to Stas Maximov from comment #3)
> Tom, thanks for the quick response.
> 
> "gdb icudt49.dll" is not the test case. 
> 
> Here is the test case:
> 
> $ cat test1.c
> int icudt49_dat(int);
> int main()
> {
>     icudt49_dat(0);
>     return 0;
> }
> $ gcc -g -L. -o test1 test1.c -licudt49
> $ $ gdb --args test1
> (gdb) run

I can't do this step.

> /netrel/src/gdb-7.6.50-4/gdb/minsyms.c:885: internal-error: sect_index_data
> not initialized
> ...

Can you debug gdb and see what objfile is being read when this assertion hits?
Or just try "gdb icudt49.dll"?

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