Rename 32- and 64-bit Intel files from "i386" to "x86"
authorGary Benson <gbenson@redhat.com>
Tue, 19 Aug 2014 14:16:11 +0000 (15:16 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 2 Sep 2014 15:54:08 +0000 (16:54 +0100)
commitdf7e526582809b829ee8651a1315a17627cfea4d
tree2d5413c08d265c8ff58710341d50b2e3e0b437d3
parented859da732b00d5928f0b311454fa6474c04c15b
Rename 32- and 64-bit Intel files from "i386" to "x86"

This commit renames nine files that contain code used by both 32- and
64-bit Intel ports such that their names are prefixed with "x86"
rather than "i386".  All types, functions and variables within these
files are likewise renamed such that their names are prefixed with
"x86" rather than "i386".  This makes GDB follow the convention used
by gdbserver such that 32-bit Intel code lives in files called
"i386-*", 64-bit Intel code lives in files called "amd64-*", and code
for both 32- and 64-bit Intel lives in files called "x86-*".

This commit only renames OS-independent files.  The Linux ports of
both GDB and gdbserver now follow the i386/amd64/x86 convention fully.
Some ports still use the old convention where "i386" in file/function/
type/variable names can mean "32-bit only" or "32- and 64-bit" but I
don't want to touch ports I can't fully test except where absolutely
necessary.

gdb/ChangeLog:

* i386-nat.h: Renamed as...
* x86-nat.h: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
* i386-nat.c: Renamed as...
* x86-nat.c: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
* common/i386-xstate.h: Renamed as...
* common/x86-xstate.h: New file.  All type, function and variable
name prefixes changed from "i386_" to "x86_".  All references
updated.
* nat/i386-cpuid.h: Renamed as...
* nat/x86-cpuid.h: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
* nat/i386-gcc-cpuid.h: Renamed as...
* nat/x86-gcc-cpuid.h: New file.  All type, function and variable
name prefixes changed from "i386_" to "x86_".  All references
updated.
* nat/i386-dregs.h: Renamed as...
* nat/x86-dregs.h: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
* nat/i386-dregs.c: Renamed as...
* nat/x86-dregs.c: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.

gdb/gdbserver/ChangeLog:

* i386-low.h: Renamed as...
* x86-low.h: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
* i386-low.c: Renamed as...
* x86-low.c: New file.  All type, function and variable name
prefixes changed from "i386_" to "x86_".  All references updated.
55 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/amd64-linux-nat.c
gdb/amd64-linux-tdep.c
gdb/amd64-windows-nat.c
gdb/amd64fbsd-nat.c
gdb/common/i386-xstate.h [deleted file]
gdb/common/x86-xstate.h [new file with mode: 0644]
gdb/config/i386/cygwin.mh
gdb/config/i386/cygwin64.mh
gdb/config/i386/darwin.mh
gdb/config/i386/fbsd.mh
gdb/config/i386/fbsd64.mh
gdb/config/i386/go32.mh
gdb/config/i386/linux.mh
gdb/config/i386/linux64.mh
gdb/config/i386/mingw.mh
gdb/config/i386/mingw64.mh
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv
gdb/gdbserver/i386-low.c [deleted file]
gdb/gdbserver/i386-low.h [deleted file]
gdb/gdbserver/i387-fp.c
gdb/gdbserver/linux-x86-low.c
gdb/gdbserver/win32-i386-low.c
gdb/gdbserver/x86-low.c [new file with mode: 0644]
gdb/gdbserver/x86-low.h [new file with mode: 0644]
gdb/go32-nat.c
gdb/i386-darwin-nat.c
gdb/i386-linux-nat.c
gdb/i386-linux-tdep.c
gdb/i386-nat.c [deleted file]
gdb/i386-nat.h [deleted file]
gdb/i386-tdep.c
gdb/i386-windows-nat.c
gdb/i386fbsd-nat.c
gdb/i387-tdep.c
gdb/nat/i386-cpuid.h [deleted file]
gdb/nat/i386-dregs.c [deleted file]
gdb/nat/i386-dregs.h [deleted file]
gdb/nat/i386-gcc-cpuid.h [deleted file]
gdb/nat/linux-btrace.c
gdb/nat/x86-cpuid.h [new file with mode: 0644]
gdb/nat/x86-dregs.c [new file with mode: 0644]
gdb/nat/x86-dregs.h [new file with mode: 0644]
gdb/nat/x86-gcc-cpuid.h [new file with mode: 0644]
gdb/testsuite/gdb.arch/i386-avx.c
gdb/testsuite/gdb.arch/i386-avx512.c
gdb/testsuite/gdb.arch/i386-mpx.c
gdb/testsuite/gdb.arch/i386-sse.c
gdb/windows-nat.c
gdb/x86-linux-nat.c
gdb/x86-nat.c [new file with mode: 0644]
gdb/x86-nat.h [new file with mode: 0644]
This page took 0.032031 seconds and 4 git commands to generate.