From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3607 invoked by alias); 8 Nov 2002 20:32:19 -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 3600 invoked from network); 8 Nov 2002 20:32:17 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 8 Nov 2002 20:32:17 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 74F8A3FE4; Fri, 8 Nov 2002 15:32:20 -0500 (EST) Message-ID: <3DCC1F54.1000108@redhat.com> Date: Fri, 08 Nov 2002 12:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [patch rfc rfa:i386] Add i386 specific register groups References: <3DCBFA0C.70409@redhat.com> <86wunn6cea.fsf@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00243.txt.bz2 > Andrew Cagney writes: > > >> I should note that the orig_eax register is only a member of the system, >> save and restore reggroups, and hence is no longer displayed by either >> `info registers' or `info all-registers'. If you're really desperate >> you can use the `maint print raw-registers` (which is in the manual :-) > > > Yeah! And you can always say "print $orig_eax", can't you? (er, quickly checking ...) (top-gdb) print $orig_eax $1 = -1 (top-gdb) maint print raw-registers ... orig_eax 41 41 308 4 int 0xffffffff Yep, of course you can. What about save/restore? Should it be saved/restored across an inferior function call? >> This ok? > > > Hmm, why are all registers in group "general"? Preserving existing behavior? :-^ > I'd expect the group > general to only include the general-purpose registers. So you'd like the mmx and sse registers excluded (general corresponds to `info all-registers')? Just give the word, Andrew