From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18579 invoked by alias); 31 Jul 2013 16:24:14 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 18544 invoked by uid 89); 31 Jul 2013 16:24:13 -0000 X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 31 Jul 2013 16:24:12 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1V4ZC0-0000nF-M2 from Maciej_Rozycki@mentor.com ; Wed, 31 Jul 2013 09:24:04 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 31 Jul 2013 09:24:04 -0700 Received: from [172.30.64.204] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Wed, 31 Jul 2013 17:24:03 +0100 Date: Wed, 31 Jul 2013 16:24:00 -0000 From: "Maciej W. Rozycki" To: Richard Sandiford CC: Subject: Re: Is this "gdb disassembler" code still needed? In-Reply-To: <878v1w34ms.fsf@talisman.default> Message-ID: References: <87d2r83elf.fsf@talisman.default> <878v1w34ms.fsf@talisman.default> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2013-07/txt/msg00100.txt.bz2 On Wed, 26 Jun 2013, Richard Sandiford wrote: > > Other than that I am fairly sure the behaviour is intentional, so except > > from any microMIPS change to match the MIPS16 variant please refrain from > > fiddling with these bits until I am done with the change proposed here: > > > > http://sourceware.org/ml/binutils/2012-05/msg00183.html > > http://sourceware.org/ml/binutils/2012-06/msg00114.html > > OK, thanks. I'll change microMIPS to match MIPS16 like you say. What happened to this code after your recent changes? I get rubbish in disassembly now, e.g.: Dump of assembler code for function t1: 0x00400991 <+0>: save a0-a3,32,ra,s1 0x00400995 <+4>: addiu s1,sp,16 0x00400997 <+6>: lw v1,0x4009f4 0x00400999 <+8>: lw v0,0x4009f0 0x0040099b <+10>: move t9,v1 0x0040099d <+12>: move t8,v0 0x0040099f <+14>: lw v0,24(s1) 0x004009a1 <+16>: move a1,t9 0x004009a3 <+18>: move a0,t8 0x004009a5 <+20>: jal 0x400da0 0x004009a9 <+24>: nop [...] Maciej