delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/19/13:03:16

Message-ID: <3D89F4C2.90809@ges.redhat.com>
Date: Thu, 19 Sep 2002 12:01:06 -0400
From: Andrew Cagney <ac131313 AT ges DOT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: pavenis AT lanet DOT lv
Cc: djgpp-workers AT delorie DOT com, gdb AT sources DOT redhat DOT com
Subject: Re: Internal GDB errors with current GDB snapshots and -gdwarf-23
References: <3D6E31F2 DOT 25704 DOT 9E195D AT localhost>
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------060106010401040702090601
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Has anyone had a chance to look at this?

Andrew

--------------060106010401040702090601
Content-Type: message/rfc822;
 name="mailbox-message://ac131313 AT movemail/fsf/gdb/misc#1972120"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mailbox-message://ac131313 AT movemail/fsf/gdb/misc#1972120"

From gdb-return-10136-ac131313=cygnus DOT com AT sources DOT redhat DOT com  Thu Aug 29 10:47:41 2002
X-Mozilla-Status2: 00000000
Return-Path: <gdb-return-10136-ac131313=cygnus DOT com AT sources DOT redhat DOT com>
Delivered-To: ac131313 AT localhost DOT redhat DOT com
Received: from localhost (localhost [127.0.0.1])
	by localhost.redhat.com (Postfix) with ESMTP id 9C2033F2E
	for <ac131313 AT localhost>; Thu, 29 Aug 2002 10:47:40 -0400 (EDT)
X-Sieve: cmu-sieve 2.0
Received: from potter.sfbay.redhat.com
	by localhost with IMAP (fetchmail-5.9.13)
	for ac131313 AT localhost (single-drop); Thu, 29 Aug 2002 10:47:40 -0400 (EDT)
Received: from lacrosse.corp.redhat.com (IDENT:root AT lacrosse DOT corp DOT redhat DOT com [172.16.52.154])
	by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7TBpse12322
	for <cagney AT potter DOT sfbay DOT redhat DOT com>; Thu, 29 Aug 2002 04:51:54 -0700
Received: from cygnus.com (runyon.sfbay.redhat.com [172.16.27.14])
	by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g7TBplY17345
	for <cagney AT redhat DOT com>; Thu, 29 Aug 2002 07:51:47 -0400
Received: from ges.redhat.com (cygnus-mx.sfbay.redhat.com [172.16.27.16])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id EAA20861
	for <ac131313 AT runyon DOT sfbay DOT redhat DOT com>; Thu, 29 Aug 2002 04:44:16 -0700 (PDT)
Received: from sources.redhat.com (sources.redhat.com [209.249.29.67])
	by ges.redhat.com (8.11.6/8.11.6) with SMTP id g7TBpkw24739
	for <ac131313 AT cygnus DOT com>; Thu, 29 Aug 2002 04:51:46 -0700
Received: (qmail 15549 invoked by alias); 29 Aug 2002 11:51:41 -0000
Mailing-List: contact gdb-help AT sources DOT redhat DOT com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:gdb-unsubscribe-ac131313=cygnus DOT com AT sources DOT redhat DOT com>
List-Subscribe: <mailto:gdb-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/gdb/>
List-Post: <mailto:gdb AT sources DOT redhat DOT com>
List-Help: <mailto:gdb-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: gdb-owner AT sources DOT redhat DOT com
Delivered-To: mailing list gdb AT sources DOT redhat DOT com
Received: (qmail 15458 invoked from network); 29 Aug 2002 11:51:39 -0000
Received: from unknown (HELO avplin2.lanet.lv) (195.13.129.96)
  by sources.redhat.com with SMTP; 29 Aug 2002 11:51:39 -0000
Received: by avplin2.lanet.lv (Postfix, from userid 3456)
	id 7179A8E66A; Thu, 29 Aug 2002 14:13:26 +0300 (EEST)
Received: from hal (hal.astr.lu.lv [195.13.134.67])
	by avplin2.lanet.lv (Postfix) with ESMTP
	id 4E2088D8AF; Thu, 29 Aug 2002 14:12:43 +0300 (EEST)
From: pavenis AT lanet DOT lv
To: djgpp-workers AT delorie DOT com
Date: Thu, 29 Aug 2002 14:38:42 +0300
MIME-Version: 1.0
Subject: Internal GDB errors with current GDB snapshots and -gdwarf-23
Cc: gdb AT sources DOT redhat DOT com
Message-ID: <3D6E31F2 DOT 25704 DOT 9E195D AT localhost>
Priority: normal
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

Built GDB 20020828 snapshot (current tree) for target i586-pc-msdosdjgpp. 
Got following problem. If  the sources are compiled using option
-gdwarf-23 then GDB gets internal error (see below). It doesn't happen
if -gdwarf-22 is being used. 

It is not the first time I see this problem with current GDB tree in some last
months.

I used gcc-3.2 and binutils-2.13

Andris

GNU gdb 20020829
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-pc-msdosdjgpp --target=djgpp"...
(gdb) tb main
macrotab.c:275: gdb-internal-error: compare_locations: Assertion `! included1 
|| ! included2' failed.
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) 
Create a core file containing the current state of GDB? (y or n) Abort!
Exiting due to signal SIGABRT
Raised at eip=00194d46
eax=ffeb8000 ebx=00000120 ecx=001c0920 edx=00000008 esi=00000001 edi=00000001
ebp=ffeb80c8 esp=ffeb7ff0 program=C:\DJGPP\BIN\GDB.EXE
cs: sel=00f7  base=84015000  limit=fff98fff
ds: sel=00ff  base=84015000  limit=fff98fff
es: sel=00ff  base=84015000  limit=fff98fff
fs: sel=011f  base=00018c90  limit=000028ff
gs: sel=010f  base=00000000  limit=0010ffff
ss: sel=00ff  base=84015000  limit=fff98fff
App stack: [ffeb9000..ffe39000]  Exceptn stack: [001ea400..001e84c0]

Call frame traceback EIPs:
  0x00194c56 __djgpp_traceback_exit+54, file dpmiexcp.c
  0x00194d46 raise+86, file dpmiexcp.c
  0x001955a0 abort+32, file abort.c
  0x00006624 internal_verror+228, file utils.c
  0x0000665a internal_error+26, file utils.c
  0x000f0f80 compare_locations+272, file macrotab.c
  0x000f102d macro_tree_compare+29, file macrotab.c
  0x0017b748 splay_tree_splay_helper+40, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b772 splay_tree_splay_helper+82, file splay-tree.c
  0x0017b884 splay_tree_splay+36, file splay-tree.c
  0x0017bb04 splay_tree_lookup+20, file splay-tree.c
  0x000f1564 find_definition+52, file macrotab.c
  0x000f162a check_for_redefinition+26, file macrotab.c
  0x000f1732 macro_define_object+50, file macrotab.c
  0x000fcdb8 parse_macro_definition+120, file dwarf2read.c
  0x000fd188 dwarf_decode_macros+424, file dwarf2read.c
  0x000f4cad read_file_scope+541, file dwarf2read.c
  0x000f470c psymtab_to_symtab_1+284, file dwarf2read.c
  0x000f4585 dwarf2_psymtab_to_symtab+37, file dwarf2read.c
  0x00009113 psymtab_to_symtab+67, file symfile.c
  0x0006b8b6 find_pc_sect_symtab+390, file symtab.c
  0x0006a996 lookup_symbol_aux+278, file symtab.c
  0x0006a672 lookup_symbol+82, file symtab.c
  0x0007ea8e decode_line_1+654, file linespec.c
  0x0002296f parse_breakpoint_sals+479, file breakpoint.c
  0x00022ad3 break_command_1+67, file breakpoint.c
  0x00023775 tbreak_command+21, file breakpoint.c
  0x0010c604 do_cfunc+20, file cli-decode.c
  0x0010e4f4 cmd_func+36, file cli-decode.c
  0x0000345f execute_command+447, file top.c
  0x0003f9fc command_handler+140, file event-top.c
  0x0003fe6c command_line_handler+492, file event-top.c
  0x0015580e rl_callback_read_char+78, file callback.c
  0x0003f2ea rl_callback_read_char_wrapper+10, file event-top.c
  0x0003f88e stdin_event_handler+94, file event-top.c
  0x0008de1c handle_file_event+92, file event-loop.c
  0x0008d944 process_event+68, file event-loop.c
  0x0008d996 gdb_do_one_event+54, file event-loop.c
  0x0000302f do_catch_errors+15, file top.c
  0x00002f30 catcher+272, file top.c
  0x00003076 catch_errors+54, file top.c
  0x0008d9b8 start_event_loop+24, file event-loop.c
  0x00001624 captured_command_loop+68, file main.c
  0x0000302f do_catch_errors+15, file top.c
  0x00002f30 catcher+272, file top.c
  0x00003076 catch_errors+54, file top.c
  0x0000234b captured_main+2715, file main.c
  0x0000302f do_catch_errors+15, file top.c
  0x00002f30 catcher+272, file top.c
  0x00003076 catch_errors+54, file top.c
  0x00002469 main+41, file main.c
  0x001937f7 __crt1_startup+199, file crt1.c





--------------060106010401040702090601--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019