From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4062 invoked by alias); 4 Jul 2003 02:14:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3953 invoked from network); 4 Jul 2003 02:14:24 -0000 Received: from unknown (HELO mail.cs.umass.edu) (128.119.243.168) by sources.redhat.com with SMTP; 4 Jul 2003 02:14:24 -0000 Received: from localhost (IDENT:HNpLdhcIDLd7DSOGiDGlLNxIUilbFVdt@loki.cs.umass.edu [128.119.243.168]) by mail.cs.umass.edu (8.12.9/8.12.5) with ESMTP id h642DmIN024030; Thu, 3 Jul 2003 22:13:48 -0400 Date: Fri, 04 Jul 2003 02:14:00 -0000 Message-Id: <20030703.221347.40819673.kazu@cs.umass.edu> To: msnyder@redhat.com Cc: gdb@sources.redhat.com, rsandifo@redhat.com, dvenkat@noida.hcltech.com Subject: Re: Signal 4 from h8300-hms-run From: Kazu Hirata In-Reply-To: <3F04C3DC.4050002@redhat.com> References: <20030703.175942.48518372.kazu@cs.umass.edu> <3F04C3DC.4050002@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Net-Tests: NO (loki, relay 128.119.243.168) X-Spam-Checked: This message probably not SPAM X-Spam-Score: -2.3, Required: 5 X-Spam-Tests: IN_REP_TO,QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES X-Spam-Report: ---- Start SpamAssassin results -2.30 points, 5 required; * -0.5 -- Has a valid-looking References header * -0.5 -- Has a In-Reply-To header * -0.3 -- BODY: Contains twice quoted reply * -0.5 -- BODY: Contains what looks like a quoted email text * -0.5 -- Reply with quoted text ---- End of SpamAssassin results X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) X-SW-Source: 2003-07/txt/msg00073.txt.bz2 Hi Michael, > > While playing with the mainline of gdb, I noticed that h8300-hms-run > > does not seem to simulate the following. > > > > .h8300h > > .section .rodata > > .align 2 > > .L9: > > .long 1234 > > .align 1 > > .global _main > > _main: > > sub.l er0,er0 > > mov.l @(.L9,er0),er0 > > sub.l er0,er0 > > rts > > .end > > > > The expected output is nothing, but h8300-hms-run says > > > > program stopped with signal 4. > > > > If I change @(.L9,er0) to @.L9, I don't get the error any more. I am > > currently getting a lot of failures in gcc testsuite, and I am > > wondering if they all come from the same reason. I haven't figures > > out how this happens or which patch is causing this. The problem > > occurs with or without > > > > http://sources.redhat.com/ml/gdb-patches/2003-07/msg00053.html > > Hmmm... There's a subtle difference between constants that are > allowed to be symbols, and constants that aren't. But if it > assembles, it should run. > > Can you check to see if the assembler output is correct? I just built latest mainline gdb again, and I noticed that the error is now gone. All this might be simply due to my oversight and/or operator error. I'll run gcc testsuite to see what happens. Sorry for taking up your time. Kazu Hirata