From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3813 invoked by alias); 5 Jan 2012 17:10:38 -0000 Received: (qmail 3672 invoked by uid 22791); 5 Jan 2012 17:10:36 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jan 2012 17:10:22 +0000 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Jan 2012 17:10:20 -0000 Received: from d06nrmr1507.portsmouth.uk.ibm.com ([9.149.38.233]) by e06smtp15.uk.ibm.com ([192.168.101.145]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 5 Jan 2012 17:09:49 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q05H9ndh2580728 for ; Thu, 5 Jan 2012 17:09:49 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q05H9mG9020246 for ; Thu, 5 Jan 2012 10:09:49 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q05H9lev020167; Thu, 5 Jan 2012 10:09:47 -0700 Message-Id: <201201051709.q05H9lev020167@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 05 Jan 2012 18:09:47 +0100 Subject: [commit, s390] Move corelow.o to target config (Re: [patch 2/2] Fix linking on non-x86* after libgdb.a removal) To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Thu, 05 Jan 2012 17:10:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20120105152451.GA4548@host2.jankratochvil.net> from "Jan Kratochvil" at Jan 05, 2012 04:24:51 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12010517-0342-0000-0000-0000008520B4 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00197.txt.bz2 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