* [RFA] Add support for i786 cpu.
@ 2001-12-06 1:05 Pierre Muller
2001-12-06 7:14 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Muller @ 2001-12-06 1:05 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Uname now reports i786 cpu for a Pentium IV.
(at least the current CVS version for djgpp,
I don't know for other target).
This makes the patterns
i[3456]86-*-....
obsolete
so I replaced them by
i[34567]-*-....
in the following patch.
I alreday found this i[34567]86 pattern in
src/bfd/configure file.
Is configure generated by configure.in?
If yes, how is this done?
A lot of other dirs (including the master src dir)
need the same modifications....
2001-12-06 Pierre Muller <muller@ics.u-strasbg.fr>
* configure: Replace i[3456]86 patterns by i[34567]86 patterns
to support Pentium IV processor reported as i786 cpu.
* configure.in: Idem.
* configure.host: Idem.
* configure.tgt: Idem.
[-- Attachment #2: i786support.diffs --]
[-- Type: text/plain, Size: 9126 bytes --]
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.72
diff -u -p -r1.72 configure
--- configure 2001/11/05 23:54:49 1.72
+++ configure 2001/12/06 08:55:06
@@ -4865,7 +4865,7 @@ echo "$ac_t""$gdb_cv_hpux_sswide" 1>&6
if test "${target}" = "${host}"; then
case "${host}" in
- i[3456]86-*-linux*)
+ i[34567]86-*-linux*)
cat >> confdefs.h <<\EOF
#define START_INFERIOR_TRAPS_EXPECTED 2
EOF
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.30
diff -u -p -r1.30 configure.host
--- configure.host 2001/12/01 23:06:46 1.30
+++ configure.host 2001/12/06 08:55:06
@@ -13,7 +13,7 @@ case "${host_cpu}" in
alpha*) gdb_host_cpu=alpha ;;
arm*) gdb_host_cpu=arm ;;
hppa*) gdb_host_cpu=pa ;;
-i[3456]86*) gdb_host_cpu=i386 ;;
+i[34567]86*) gdb_host_cpu=i386 ;;
m68*) gdb_host_cpu=m68k ;;
m88*) gdb_host_cpu=m88k ;;
mips*) gdb_host_cpu=mips ;;
@@ -45,40 +45,40 @@ hppa*-*-hpux11*) gdb_host=hpux11 ;;
hppa*-*-hpux*) gdb_host=hppahpux ;;
hppa*-*-osf*) gdb_host=hppaosf ;;
-i[3456]86-ncr-*) gdb_host=ncr3000 ;;
-i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
-i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
-i[3456]86-sequent-sysv*) gdb_host=ptx ;;
-i[3456]86-*-aix*) gdb_host=i386aix ;;
-i[3456]86-*-bsd*) gdb_host=i386bsd ;;
-i[3456]86-*-dgux*) gdb_host=i386dgux ;;
-i[3456]86-*-freebsd*) gdb_host=fbsd ;;
-i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;;
-i[3456]86-*-netbsdaout*) gdb_host=nbsd ;;
-i[3456]86-*-netbsd*) gdb_host=nbsd ;;
-i[3456]86-*-go32*) gdb_host=go32 ;;
-i[3456]86-*-msdosdjgpp*) gdb_host=go32 ;;
-i[3456]86-*-linux*) gdb_host=linux ;;
-i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
-i[3456]86-*-mach3*) gdb_host=i386m3 ;;
-i[3456]86-*-mach*) gdb_host=i386mach ;;
-i[3456]86-*-gnu*) gdb_host=i386gnu ;;
-i[3456]86-*-openbsd*) gdb_host=obsd ;;
-i[3456]86-*-osf1mk*) gdb_host=i386mk ;;
-i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
-i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
-i[3456]86-*-sco*) gdb_host=i386sco ;;
-i[3456]86-*-solaris*) gdb_host=i386sol2 ;;
-i[3456]86-*-sysv3.2*) gdb_host=i386v32 ;;
-i[3456]86-*-sysv32*) gdb_host=i386v32 ;;
-i[3456]86-*-sysv4.2*) gdb_host=i386v42mp ;;
-i[3456]86-*-sysv4*) gdb_host=i386v4 ;;
-i[3456]86-*-sysv5*) gdb_host=i386v42mp ;;
-i[3456]86-*-unixware2*) gdb_host=i386v42mp ;;
-i[3456]86-*-unixware*) gdb_host=i386v4 ;;
-i[3456]86-*-sysv*) gdb_host=i386v ;;
-i[3456]86-*-isc*) gdb_host=i386v32 ;;
-i[3456]86-*-cygwin*) gdb_host=cygwin ;;
+i[34567]86-ncr-*) gdb_host=ncr3000 ;;
+i[34567]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
+i[34567]86-sequent-sysv4*) gdb_host=ptx4 ;;
+i[34567]86-sequent-sysv*) gdb_host=ptx ;;
+i[34567]86-*-aix*) gdb_host=i386aix ;;
+i[34567]86-*-bsd*) gdb_host=i386bsd ;;
+i[34567]86-*-dgux*) gdb_host=i386dgux ;;
+i[34567]86-*-freebsd*) gdb_host=fbsd ;;
+i[34567]86-*-netbsdelf*) gdb_host=nbsdelf ;;
+i[34567]86-*-netbsdaout*) gdb_host=nbsd ;;
+i[34567]86-*-netbsd*) gdb_host=nbsd ;;
+i[34567]86-*-go32*) gdb_host=go32 ;;
+i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
+i[34567]86-*-linux*) gdb_host=linux ;;
+i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
+i[34567]86-*-mach3*) gdb_host=i386m3 ;;
+i[34567]86-*-mach*) gdb_host=i386mach ;;
+i[34567]86-*-gnu*) gdb_host=i386gnu ;;
+i[34567]86-*-openbsd*) gdb_host=obsd ;;
+i[34567]86-*-osf1mk*) gdb_host=i386mk ;;
+i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
+i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
+i[34567]86-*-sco*) gdb_host=i386sco ;;
+i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
+i[34567]86-*-sysv3.2*) gdb_host=i386v32 ;;
+i[34567]86-*-sysv32*) gdb_host=i386v32 ;;
+i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
+i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
+i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
+i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
+i[34567]86-*-unixware*) gdb_host=i386v4 ;;
+i[34567]86-*-sysv*) gdb_host=i386v ;;
+i[34567]86-*-isc*) gdb_host=i386v32 ;;
+i[34567]86-*-cygwin*) gdb_host=cygwin ;;
ia64-*-aix*) gdb_host=aix ;;
ia64-*-linux*) gdb_host=linux ;;
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.74
diff -u -p -r1.74 configure.in
--- configure.in 2001/11/05 23:54:49 1.74
+++ configure.in 2001/12/06 08:55:06
@@ -256,7 +256,7 @@ AC_MSG_RESULT($gdb_cv_hpux_sswide)
if test "${target}" = "${host}"; then
case "${host}" in
- i[[3456]]86-*-linux*)
+ i[[34567]]86-*-linux*)
AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
AC_DEFINE(sys_quotactl)
;;
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.44
diff -u -p -r1.44 configure.tgt
--- configure.tgt 2001/12/01 23:06:46 1.44
+++ configure.tgt 2001/12/06 08:55:06
@@ -15,7 +15,7 @@ case "${target_cpu}" in
alpha*) gdb_target_cpu=alpha ;;
arm*) gdb_target_cpu=arm ;;
hppa*) gdb_target_cpu=pa ;;
-i[3456]86*) gdb_target_cpu=i386 ;;
+i[34567]86*) gdb_target_cpu=i386 ;;
m68hc11*|m6811*) gdb_target_cpu=m68hc11 ;;
m68*) gdb_target_cpu=m68k ;;
m88*) gdb_target_cpu=m88k ;;
@@ -82,49 +82,49 @@ hppa*-*-hiux*) gdb_target=hppahpux ;;
hppa*-*-osf*) gdb_target=hppaosf
configdirs="${configdirs} gdbserver" ;;
-i[3456]86-sequent-bsd*) gdb_target=symmetry ;;
-i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
-i[3456]86-sequent-sysv*) gdb_target=ptx ;;
-i[3456]86-ncr-*) gdb_target=ncr3000 ;;
-i[3456]86-*-aout*) gdb_target=embed ;;
-i[3456]86-*-coff*) gdb_target=embed ;;
-i[3456]86-*-elf*) gdb_target=embed ;;
-i[3456]86-*-aix*) gdb_target=i386aix ;;
-i[3456]86-*-bsd*) gdb_target=i386bsd ;;
-i[3456]86-*-freebsd*) gdb_target=fbsd ;;
-i[3456]86-*-netbsdelf*) gdb_target=nbsdelf
- configdirs="${configdirs} gdbserver" ;;
-i[3456]86-*-netbsd*) gdb_target=nbsd
- configdirs="${configdirs} gdbserver" ;;
-i[3456]86-*-os9k) gdb_target=i386os9k ;;
-i[3456]86-*-go32*) gdb_target=i386aout ;;
-i[3456]86-*-msdosdjgpp*) gdb_target=go32 ;;
-i[3456]86-*-lynxos*) gdb_target=i386lynx
- configdirs="${configdirs} gdbserver" ;;
-i[3456]86-*-openbsd*) gdb_target=obsd ;;
-i[3456]86-*-solaris*) gdb_target=i386sol2 ;;
-i[3456]86-*-sysv4.2*) gdb_target=i386v42mp ;;
-i[3456]86-*-sysv4*) gdb_target=i386v4 ;;
-i[3456]86-*-sysv5*) gdb_target=i386v42mp ;;
-i[3456]86-*-unixware2*) gdb_target=i386v42mp ;;
-i[3456]86-*-unixware*) gdb_target=i386v4 ;;
-i[3456]86-*-sco3.2v4*) gdb_target=i386sco4 ;;
-i[3456]86-*-sco3.2v5*) gdb_target=i386sco5 ;;
-i[3456]86-*-sco*) gdb_target=i386v ;;
-i[3456]86-*-sysv*) gdb_target=i386v ;;
-i[3456]86-*-linux*) gdb_target=linux
- configdirs="${configdirs} gdbserver" ;;
-i[3456]86-pc-linux-gnu) gdb_target=linux
- configdirs="${configdirs} gdbserver" ;;
-i[3456]86-*-isc*) gdb_target=i386v ;;
-i[3456]86-*-mach3*) gdb_target=i386m3 ;;
-i[3456]86-*-gnu*) gdb_target=i386gnu ;;
-i[3456]86-*-netware*) gdb_target=i386nw
+i[34567]86-sequent-bsd*) gdb_target=symmetry ;;
+i[34567]86-sequent-sysv4*) gdb_target=ptx4 ;;
+i[34567]86-sequent-sysv*) gdb_target=ptx ;;
+i[34567]86-ncr-*) gdb_target=ncr3000 ;;
+i[34567]86-*-aout*) gdb_target=embed ;;
+i[34567]86-*-coff*) gdb_target=embed ;;
+i[34567]86-*-elf*) gdb_target=embed ;;
+i[34567]86-*-aix*) gdb_target=i386aix ;;
+i[34567]86-*-bsd*) gdb_target=i386bsd ;;
+i[34567]86-*-freebsd*) gdb_target=fbsd ;;
+i[34567]86-*-netbsdelf*) gdb_target=nbsdelf
+ configdirs="${configdirs} gdbserver" ;;
+i[34567]86-*-netbsd*) gdb_target=nbsd
+ configdirs="${configdirs} gdbserver" ;;
+i[34567]86-*-os9k) gdb_target=i386os9k ;;
+i[34567]86-*-go32*) gdb_target=i386aout ;;
+i[34567]86-*-msdosdjgpp*) gdb_target=go32 ;;
+i[34567]86-*-lynxos*) gdb_target=i386lynx
+ configdirs="${configdirs} gdbserver" ;;
+i[34567]86-*-openbsd*) gdb_target=obsd ;;
+i[34567]86-*-solaris*) gdb_target=i386sol2 ;;
+i[34567]86-*-sysv4.2*) gdb_target=i386v42mp ;;
+i[34567]86-*-sysv4*) gdb_target=i386v4 ;;
+i[34567]86-*-sysv5*) gdb_target=i386v42mp ;;
+i[34567]86-*-unixware2*) gdb_target=i386v42mp ;;
+i[34567]86-*-unixware*) gdb_target=i386v4 ;;
+i[34567]86-*-sco3.2v4*) gdb_target=i386sco4 ;;
+i[34567]86-*-sco3.2v5*) gdb_target=i386sco5 ;;
+i[34567]86-*-sco*) gdb_target=i386v ;;
+i[34567]86-*-sysv*) gdb_target=i386v ;;
+i[34567]86-*-linux*) gdb_target=linux
+ configdirs="${configdirs} gdbserver" ;;
+i[34567]86-pc-linux-gnu) gdb_target=linux
+ configdirs="${configdirs} gdbserver" ;;
+i[34567]86-*-isc*) gdb_target=i386v ;;
+i[34567]86-*-mach3*) gdb_target=i386m3 ;;
+i[34567]86-*-gnu*) gdb_target=i386gnu ;;
+i[34567]86-*-netware*) gdb_target=i386nw
configdirs="${configdirs} nlm" ;;
-i[3456]86-*-osf1mk*) gdb_target=i386mk ;;
-i[3456]86-*-cygwin*) gdb_target=cygwin ;;
-i[3456]86-*-pe*) gdb_target=embed ;;
-i[3456]86-*-vxworks*) gdb_target=vxworks ;;
+i[34567]86-*-osf1mk*) gdb_target=i386mk ;;
+i[34567]86-*-cygwin*) gdb_target=cygwin ;;
+i[34567]86-*-pe*) gdb_target=embed ;;
+i[34567]86-*-vxworks*) gdb_target=vxworks ;;
i960-*-bout*) gdb_target=vxworks960 ;;
i960-nindy-coff*) gdb_target=nindy960 ;;
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] Add support for i786 cpu.
2001-12-06 1:05 [RFA] Add support for i786 cpu Pierre Muller
@ 2001-12-06 7:14 ` Andrew Cagney
2001-12-06 8:25 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-12-06 7:14 UTC (permalink / raw)
To: Pierre Muller; +Cc: gdb-patches
> Uname now reports i786 cpu for a Pentium IV.
> (at least the current CVS version for djgpp,
> I don't know for other target).
>
> This makes the patterns
> i[3456]86-*-....
> obsolete
> so I replaced them by
> i[34567]-*-....
> in the following patch.
>
> I alreday found this i[34567]86 pattern in
> src/bfd/configure file.
>
> Is configure generated by configure.in?
> If yes, how is this done?
>
> A lot of other dirs (including the master src dir)
> need the same modifications....
Sounds like something to pull onto the 5.1 branch as well. Regenerating
configure from configure.in involves the running of autoconf (cd
src/gdb; autoconf). The relevant version is at
ftp://sources.redhat.com/pub/binutils.
Andrew
> 2001-12-06 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * configure: Replace i[3456]86 patterns by i[34567]86 patterns
> to support Pentium IV processor reported as i786 cpu.
> * configure.in: Idem.
> * configure.host: Idem.
> * configure.tgt: Idem.
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] Add support for i786 cpu.
2001-12-06 7:14 ` Andrew Cagney
@ 2001-12-06 8:25 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2001-12-06 8:25 UTC (permalink / raw)
To: Andrew Cagney; +Cc: Pierre Muller, gdb-patches
On Thu, 6 Dec 2001, Andrew Cagney wrote:
> Sounds like something to pull onto the 5.1 branch as well.
Yes, definitely.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-06 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-06 1:05 [RFA] Add support for i786 cpu Pierre Muller
2001-12-06 7:14 ` Andrew Cagney
2001-12-06 8:25 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox