This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hppa] Enable cross-gdb building for hppa


In reference to a message from Randolph Chung, dated May 09:
> This patch enables cross-gdb building for hppa using the same kludge as
> other archs. What's a more proper way to fix this?

i got some private feedback that it should be more like this. ok to
apply?

randolph

2004-05-10  Randolph Chung  <tausq@debian.org>

	* config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
	target.
	* config/pa/tm-linux.h: New file.

Index: gdb/config/pa/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/linux.mt,v
retrieving revision 1.1
diff -u -p -r1.1 linux.mt
--- gdb/config/pa/linux.mt	29 Apr 2004 03:36:50 -0000	1.1
+++ gdb/config/pa/linux.mt	10 May 2004 14:15:04 -0000
@@ -1,3 +1,3 @@
 # Target: HP PA-RISC running Linux
 TDEPFILES= hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o solib.o solib-svr4.o
-TM_FILE=tm-hppa.h
+TM_FILE=tm-linux.h
--- /dev/null	2004-05-03 08:05:05.000000000 -0400
+++ gdb/config/pa/tm-linux.h	2004-05-09 17:13:07.000000000 -0400
@@ -0,0 +1,27 @@
+/* Definitions to target GDB to GNU/Linux on hppa-linux.
+   Copyright 1992, 1993, 2000 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_LINUX_H
+#define TM_LINUX_H
+
+#include "pa/tm-hppa.h"
+#include "config/tm-linux.h"
+
+#endif /* #ifndef TM_LINUX_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]