This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit, s390] Move corelow.o to target config (Re: [patch 2/2] Fix linking on non-x86* after libgdb.a removal)
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 5 Jan 2012 18:09:47 +0100 (CET)
- Subject: [commit, s390] Move corelow.o to target config (Re: [patch 2/2] Fix linking on non-x86* after libgdb.a removal)
Jan Kratochvil wrote:
> On Thu, 05 Jan 2012 15:46:19 +0100, Ulrich Weigand wrote:
> > This needs to be done anyway to properly handle cross-debugging targeting
> > s390 core files. Unless you already have done so, I can prepare a patch.
>
> Sure such (separate) patch would be great.
OK, I've checked in the patch below.
Tested on s390x-ibm-linux (-m31/-m64).
Bye,
Ulrich
ChangeLog:
* configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
* config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.247
diff -u -p -r1.247 configure.tgt
--- gdb/configure.tgt 2 Jan 2012 17:18:46 -0000 1.247
+++ gdb/configure.tgt 5 Jan 2012 17:04:41 -0000
@@ -428,7 +428,7 @@ powerpc*-*-*)
s390*-*-*)
# Target: S390 running Linux
- gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o"
+ gdb_target_obs="s390-tdep.o solib-svr4.o corelow.o linux-tdep.o"
build_gdbserver=yes
;;
Index: gdb/config/s390/s390.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/s390/s390.mh,v
retrieving revision 1.19
diff -u -p -r1.19 s390.mh
--- gdb/config/s390/s390.mh 2 Sep 2011 21:40:30 -0000 1.19
+++ gdb/config/s390/s390.mh 5 Jan 2012 17:04:42 -0000
@@ -1,6 +1,6 @@
# Host: S390, running Linux
NAT_FILE= config/nm-linux.h
-NATDEPFILES= inf-ptrace.o fork-child.o corelow.o s390-nat.o \
+NATDEPFILES= inf-ptrace.o fork-child.o s390-nat.o \
linux-thread-db.o proc-service.o \
linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o
NAT_CDEPS = $(srcdir)/proc-service.list
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com