From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12878 invoked by alias); 28 Apr 2003 19:26:53 -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 12871 invoked from network); 28 Apr 2003 19:26:52 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 28 Apr 2003 19:26:52 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 372F12B2F; Mon, 28 Apr 2003 15:26:53 -0400 (EDT) Message-ID: <3EAD807D.8090609@redhat.com> Date: Mon, 28 Apr 2003 21:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexandre Oliva Cc: cgd@broadcom.com, gdb-patches@sources.redhat.com Subject: Re: use MIPS NewABI register names when disassembling NewABI code References: <3E927BCA.1080702@redhat.com> <3E93391F.2050005@redhat.com> <3E94339A.8030405@redhat.com> <3E96D9DC.5080508@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00529.txt.bz2 > I don't see why not. > > >>> * mips-tdep.c (mips_gdbarch_init): Set disassembler_options >>> according to the selected ABI. > > >> Yes!! > > > Wheee! At last! Thanks for shepherding me through the whole process > :-) Um, does it work though? I can see it working for: x/i $pc but what about: disassemble The former uses the global [about to be deprecated] variable tm_print_insn_info and would pick up the settings. The latter, which was recently rewritten to not rely on that global, would not. (the power of deprecation :-), Andrew