From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1047 invoked by alias); 7 Jan 2013 20:30:29 -0000 Received: (qmail 929 invoked by uid 22791); 7 Jan 2013 20:30:23 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_XF X-Spam-Check-By: sourceware.org Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 20:30:15 +0000 Received: by mail-wg0-f42.google.com with SMTP id dr1so2694086wgb.5 for ; Mon, 07 Jan 2013 12:30:13 -0800 (PST) X-Received: by 10.194.143.35 with SMTP id sb3mr97625774wjb.30.1357590613205; Mon, 07 Jan 2013 12:30:13 -0800 (PST) Received: from localhost ([2.26.203.77]) by mx.google.com with ESMTPS id ex6sm15336951wid.3.2013.01.07.12.30.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2013 12:30:12 -0800 (PST) From: Richard Sandiford To: "Steve Ellcey " Mail-Followup-To: "Steve Ellcey " ,, rdsandiford@googlemail.com Cc: Subject: Re: [patch, mips, stabs] Do any MIPS targets use stabs? References: <99d6779b-5dee-4fac-bc73-26055eaa0857@EXCHHUB01.MIPS.com> Date: Mon, 07 Jan 2013 20:30:00 -0000 In-Reply-To: <99d6779b-5dee-4fac-bc73-26055eaa0857@EXCHHUB01.MIPS.com> (Steve Ellcey's message of "Mon, 7 Jan 2013 10:27:26 -0800") Message-ID: <87ip784tyl.fsf@talisman.default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00350.txt.bz2 "Steve Ellcey " writes: > While testing all the variations of my mips-mti-elf target I found that > a number of debug tests like gcc.dg/debug/trivial.c fail when compiled > using a stabs debug flag (-gstabs3 for example) and -mips16. While running > the GNU simulator I get: > > mips-core: 1 byte read to unmapped address 0xffffe820 at 0xffffffff80020278 > program stopped with signal 10 (User defined signal 1). > FAIL: gcc.dg/debug/trivial.c -gstabs3 -O execution test > > Since I don't actually care about STABS I was looking at undefining > DBX_DEBUGGING_INFO in mips-mti-elf.h and mips-mti-linux.h which makes > the failures a moot point for me since I would no longer run the tests > with any -stabs flags. > > But I was wondering, are there any MIPS targets that do use stabs? If not > maybe we should just remove the define of DBX_DEBUGGING_INFO from mips.h > instead of undefing it just for my targets. Opinions? Do you know why selecting stabs causes an execution failure? That shouldn't happen regardless of whether the debug info itself is good. I don't mind removing stabs from all MIPS targets, but I'd like to understand why we get the execution failure first. Richard