From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3659 invoked by alias); 21 Nov 2013 21:39:05 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 3629 invoked by uid 48); 21 Nov 2013 21:39:05 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16201] internal error on a cygwin program linked against a DLL with no .data section Date: Thu, 21 Nov 2013 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00356.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16201 --- Comment #4 from Tom Tromey --- (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.