This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: config stuff for x86_64
- To: Jiri Smid <smid at suse dot cz>
- Subject: Re: [RFA]: config stuff for x86_64
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 25 Jul 2001 14:10:51 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <s8vn15to5b6.fsf@naga.suse.cz>
> Hello,
>
> I am working on new target - AMD 64 bit processor and I want to start
> with committing changes to mainline.
>
> Andrew Cagney <ac131313@cygnus.com> writes:
>
>
>> If you can then just submit a two line minimal patch (to config say?) I'll have
>> a reason to get you into the write after approval list.
FYI,
The patch itself is ok, the ChangeLog isn't. ChangeLogs need to be
extracted from the diff.
The rationale is simple, a ChangeLog diff never applies correctly. In
fact, it always applies incorrectly acting like a virus inserting its
self into the ChangeLog file at some random location.
almost,
Andrew
Hello,
I am working on new target - AMD 64 bit processor and I want to start
with committing changes to mainline.
Andrew Cagney <ac131313@cygnus.com> writes:
> If you can then just submit a two line minimal patch (to config say?)
I'll have
> a reason to get you into the write after approval list.
Here is the first patch to config files:
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.1511
diff -c -3 -p -r1.1511 ChangeLog
*** ChangeLog 2001/07/24 21:51:36 1.1511
--- ChangeLog 2001/07/25 07:03:48
***************
*** 1,3 ****
--- 1,8 ----
+ 2001-07-25 Jiri Smid <smid@suse.cz>
+
+ * configure.host: Recognize x86_64-*-linux*.
+ * configure.tgt: Likewise.
+
2001-07-24 Stephen P. Smith <ischis2@home.com>
* MAINTAINERS (Stephen P. Smith): Added to write after approval
Index: gdb/configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.23
diff -c -3 -p -r1.23 configure.host
*** configure.host 2001/07/10 20:41:54 1.23
--- configure.host 2001/07/25 07:03:48
*************** mips*) gdb_host_cpu=mips ;;
*** 20,25 ****
--- 20,26 ----
powerpc*) gdb_host_cpu=powerpc ;;
sparc64) gdb_host_cpu=sparc ;;
s390*) gdb_host_cpu=s390 ;;
+ x86_64*) gdb_host_cpu=i386 ;;
*) gdb_host_cpu=$host_cpu ;;
esac
*************** xscale-*-*) gdb_host=arm ;;
*** 162,166 ****
--- 163,169 ----
vax-*-bsd*) gdb_host=vaxbsd ;;
vax-*-ultrix2*) gdb_host=vaxult2 ;;
vax-*-ultrix*) gdb_host=vaxult ;;
+
+ x86_64-*-linux*) gdb_host=x86_64 ;;
esac
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.34
diff -c -3 -p -r1.34 configure.tgt
*** configure.tgt 2001/07/19 05:10:38 1.34
--- configure.tgt 2001/07/25 07:03:48
*************** s390*) gdb_target_cpu=s390 ;;
*** 27,32 ****
--- 27,33 ----
strongarm*) gdb_target_cpu=arm ;;
xscale*) gdb_target_cpu=arm ;;
v850*) gdb_target_cpu=v850 ;;
+ x86_64*) gdb_target_cpu=i386 ;;
*) gdb_target_cpu=$target_cpu ;;
esac
*************** v850*-*-*) gdb_target=v850
*** 312,317 ****
--- 313,321 ----
;;
# OBSOLETE w65-*-*) gdb_target=w65 ;;
+
+ x86_64-*-linux*) gdb_target=x86_64
+ configdirs="${configdirs} gdbserver" ;;
z8k-*-coff*) gdb_target=z8k ;;
> Here is the first patch to config files:
>
> Index: gdb/ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/gdb/ChangeLog,v
> retrieving revision 1.1511
> diff -c -3 -p -r1.1511 ChangeLog
> *** ChangeLog 2001/07/24 21:51:36 1.1511
> --- ChangeLog 2001/07/25 07:03:48
> ***************
> *** 1,3 ****
> --- 1,8 ----
> + 2001-07-25 Jiri Smid <smid@suse.cz>
> +
> + * configure.host: Recognize x86_64-*-linux*.
> + * configure.tgt: Likewise.
> +
> 2001-07-24 Stephen P. Smith <ischis2@home.com>
> * MAINTAINERS (Stephen P. Smith): Added to write after approval
> Index: gdb/configure.host
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.host,v
> retrieving revision 1.23
> diff -c -3 -p -r1.23 configure.host
> *** configure.host 2001/07/10 20:41:54 1.23
> --- configure.host 2001/07/25 07:03:48
> *************** mips*) gdb_host_cpu=mips ;;
> *** 20,25 ****
> --- 20,26 ----
> powerpc*) gdb_host_cpu=powerpc ;;
> sparc64) gdb_host_cpu=sparc ;;
> s390*) gdb_host_cpu=s390 ;;
> + x86_64*) gdb_host_cpu=i386 ;;
> *) gdb_host_cpu=$host_cpu ;;
>
> esac
> *************** xscale-*-*) gdb_host=arm ;;
> *** 162,166 ****
> --- 163,169 ----
> vax-*-bsd*) gdb_host=vaxbsd ;;
> vax-*-ultrix2*) gdb_host=vaxult2 ;;
> vax-*-ultrix*) gdb_host=vaxult ;;
> +
> + x86_64-*-linux*) gdb_host=x86_64 ;;
>
> esac
> Index: gdb/configure.tgt
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.tgt,v
> retrieving revision 1.34
> diff -c -3 -p -r1.34 configure.tgt
> *** configure.tgt 2001/07/19 05:10:38 1.34
> --- configure.tgt 2001/07/25 07:03:48
> *************** s390*) gdb_target_cpu=s390 ;;
> *** 27,32 ****
> --- 27,33 ----
> strongarm*) gdb_target_cpu=arm ;;
> xscale*) gdb_target_cpu=arm ;;
> v850*) gdb_target_cpu=v850 ;;
> + x86_64*) gdb_target_cpu=i386 ;;
> *) gdb_target_cpu=$target_cpu ;;
>
> esac
> *************** v850*-*-*) gdb_target=v850
> *** 312,317 ****
> --- 313,321 ----
> ;;
>
> # OBSOLETE w65-*-*) gdb_target=w65 ;;
> +
> + x86_64-*-linux*) gdb_target=x86_64
> + configdirs="${configdirs} gdbserver" ;;
>
> z8k-*-coff*) gdb_target=z8k ;;
>
>
>
>
>