This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: fp update for embedded x86 config
- To: jtc at redback dot com
- Subject: Re: fp update for embedded x86 config
- From: Jim Blandy <jimb at cygnus dot com>
- Date: 16 Nov 1999 16:06:47 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <5m7ljntrg9.fsf@jtc.redbacknetworks.com>
In my vague and undetailed understanding, this patch is currently a
no-op, since tm-i386v.h defines its own registers. And even if we
delete the register definitions from tm-i386v.h (which I think we
should), the behavior of the embedded target will be unchanged, since
tm-i386.h defines only the general purpose registers by default. I
don't expect that to change in the future.
Am I missing something? What are the details? What's the intent?
> 1999-11-12 J.T. Conklin <jtc@redback.com>
>
> * config/i386/tm-embed.h: New file.
> * config/i386/embed.mt: Updated to use tm-embed.h.
>
> Index: gdb/gdb/config/i386/embed.mt
> diff -c gdb/gdb/config/i386/embed.mt:1.1.1.1 gdb/gdb/config/i386/embed.mt:1.2
> *** gdb/gdb/config/i386/embed.mt:1.1.1.1 Tue Aug 17 16:52:14 1999
> --- gdb/gdb/config/i386/embed.mt Fri Nov 12 11:48:31 1999
> ***************
> *** 1,3 ****
> # Target: Embedded Intel 386
> TDEPFILES= i386-tdep.o i387-tdep.o
> ! TM_FILE= tm-i386v.h
> --- 1,3 ----
> # Target: Embedded Intel 386
> TDEPFILES= i386-tdep.o i387-tdep.o
> ! TM_FILE= tm-embed.h
> Index: gdb/gdb/config/i386/tm-embed.h
> diff -c /dev/null gdb/gdb/config/i386/tm-embed.h:1.1
> *** /dev/null Fri Nov 12 11:49:47 1999
> --- gdb/gdb/config/i386/tm-embed.h Fri Nov 12 11:48:31 1999
> ***************
> *** 0 ****
> --- 1,35 ----
> + /* Target machine description for embedded 80[3456]86,
> + for GDB, the GNU debugger.
> + Copyright (C) 1999 Free Software Foundation, Inc.
> +
> + This file is part of GDB.
> +
> + This program is free software; you can redistribute it and/or modify
> + it under the terms of the GNU General Public License as published by
> + the Free Software Foundation; either version 2 of the License, or
> + (at your option) any later version.
> +
> + This program is distributed in the hope that it will be useful,
> + but WITHOUT ANY WARRANTY; without even the implied warranty of
> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + GNU General Public License for more details.
> +
> + You should have received a copy of the GNU General Public License
> + along with this program; if not, write to the Free Software
> + Foundation, Inc., 59 Temple Place - Suite 330,
> + Boston, MA 02111-1307, USA. */
> +
> + #ifndef TM_EMBED_H
> + #define TM_EMBED_H
> +
> + /* Because GDB's embedded x86 targets did not support floating point
> + registers before the x86 FP support reorganization effort, it seems
> + prudent to continue doing the same until a mechanism is in place to
> + select processor type at run time. */
> +
> + #undef HAVE_I387_REGS
> + #undef HAVE_SSE_REGS
> +
> + #include "i386/tm-i386v.h"
> +
> + #endif /* ifndef TM_EMBED_H */
>
>
> --
> J.T. Conklin
> RedBack Networks
>