From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19887 invoked by alias); 19 Apr 2004 12:42:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19611 invoked from network); 19 Apr 2004 12:42:40 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 19 Apr 2004 12:42:40 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i3JCgeJa031756 for ; Mon, 19 Apr 2004 08:42:40 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3J6Mrj29360; Mon, 19 Apr 2004 02:22:53 -0400 To: Eli Zaretskii Cc: ford@vss.fsi.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp) References: <8011-Fri02Apr2004094123+0300-eliz@gnu.org> <2719-Fri02Apr2004213907+0300-eliz@gnu.org> <2914-Sun18Apr2004194339+0300-eliz@gnu.org> From: Jim Blandy Date: Mon, 19 Apr 2004 12:42:00 -0000 In-Reply-To: <2914-Sun18Apr2004194339+0300-eliz@gnu.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-04/txt/msg00420.txt.bz2 "Eli Zaretskii" writes: > > From: Jim Blandy > > Date: 05 Apr 2004 17:44:14 -0500 > > > > In fact, it looks to me as if DJGPP uses dbx_register_map for both > > STABS and Dwarf 2. (Eli, is this right?) > > No, that's not what I see. The file /config/i386/djgpp.h in the GCC > distribution says: > > #undef DBX_REGISTER_NUMBER > #define DBX_REGISTER_NUMBER(n) \ > ((write_symbols == DWARF2_DEBUG) ? svr4_dbx_register_map[n] : dbx_register_map[n]) > > (This is from GCC 3.3.3 source distribution I find in the DJGPP > repository.) > > So DJGPP uses svr4_dbx_register_map[] for DWARF-2, dbx_register_map[] > otherwise. Okay. That text is not present in the public GCC sources, or in the GCC 3.3 release's sources. (I *thought* I had looked carefully for such things.) Is this a change that needs to be pushed upstream?