From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27916 invoked by alias); 14 Jan 2002 22:31:22 -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 27874 invoked from network); 14 Jan 2002 22:31:18 -0000 Received: from unknown (HELO elgar.kettenis.dyndns.org) (213.93.113.246) by sources.redhat.com with SMTP; 14 Jan 2002 22:31:18 -0000 Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.11.6/8.11.6) id g0EMV3Q00393; Mon, 14 Jan 2002 23:31:03 +0100 (CET) (envelope-from kettenis@kettenis.dyndns.org) Date: Mon, 14 Jan 2002 14:31:00 -0000 Message-Id: <200201142231.g0EMV3Q00393@elgar.kettenis.dyndns.org> X-Authentication-Warning: elgar.kettenis.dyndns.org: kettenis set sender to kettenis@elgar.kettenis.dyndns.org using -f From: Mark Kettenis To: jimb@zwingli.cygnus.com CC: ac131313@cygnus.com, gdb-patches@sources.redhat.com In-reply-to: (message from Jim Blandy on 14 Jan 2002 16:59:49 -0500) Subject: Re: RFA: i386 Linux: provide correct type for orig_eax register Reply-to: kettenis@chello.nl References: <20020111222448.A73EC5E9D8@zwingli.cygnus.com> <3C40C94E.7060702@cygnus.com> X-SW-Source: 2002-01/txt/msg00398.txt.bz2 From: Jim Blandy Date: 14 Jan 2002 16:59:49 -0500 Andrew Cagney writes: > > I think we should #define HAVE_SSE_REGS unconditionally in > >> config/i386/tm-linux.h. Later, when things are properly multi-arched, > >> we can decide whether we actually display thos registers based on the > >> actual processor model. > > Okay. I'll give that a try. > > > I'm trying to decide if it will break something. > > The old ``remote packet is defined by the layout of the register > buffer'' problem is lurking ready to strike :-( This would put the > SSE registers into the register buffer causing GDB to try to send them > to a target that, rightly, doesn't expect them (hmm and also doesn't > support a register-write packet) The new orig_eax register isn't in any publically released version of GDB yet. And actually I think your worries about the remote packet is actually an argument to try to keep the remote packet the same for all Linux targets. Right now it will depend on the header files installed on the system where GDB is built. Well, in that context, may I at least commit the change I posted? It simply extends the pattern of i386_linux_register_raw_size, i386_linux_register_byte, and i386_linux_register_name. I'd really prefer the unconditional #define of HAVE_SSE_REGS. Mark