From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23159 invoked by alias); 25 Nov 2013 21:56:06 -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 23127 invoked by uid 48); 25 Nov 2013 21:56:06 -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: Mon, 25 Nov 2013 21:56: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: NEW 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/msg00430.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16201 --- Comment #13 from Tom Tromey --- 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.