From patchwork Fri Oct 6 13:11:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 23375 Received: (qmail 86605 invoked by alias); 6 Oct 2017 13:11:33 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 86592 invoked by uid 89); 6 Oct 2017 13:11:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wr0-f195.google.com Received: from mail-wr0-f195.google.com (HELO mail-wr0-f195.google.com) (209.85.128.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Oct 2017 13:11:31 +0000 Received: by mail-wr0-f195.google.com with SMTP id z1so11274529wre.1 for ; Fri, 06 Oct 2017 06:11:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=bxa+PbdEnybW8fxBUc64H0KrWaZzDU6aLZQpBSUBsDA=; b=FfEgrsg3ISzzvqfzFUwMnYl3Bf+R3KcOlo8M8a3XAU2PcC7Tm2DG8WMqoE5XOzaYbJ nHzbMJ3AS8fnPZQvF/uNSTcTUXnLmEV1Wcb7T7rff5ZHmm9rfY9yZUgIK3Y/MLk6nbdg UZXbd3brz0rcozjkGGzR0g6/dPm4VpSsdlDJd2UkiAypur8Zq9jQJGDFjQE+f2miw0uk FL/m+qsKAcC3TkQ7+jpMQKuqc3agyr6a25g7egg/lWnTl2ZnHZvFRMgDQaqGf3cGvM35 h4SQdXqJv4i/wmwLhF2uFtA93H7ujShRbg5N0Z3zUd1Aht9893JSlkv968jnL8YKya9Q SKkA== X-Gm-Message-State: AMCzsaVzRRQQP7YjBMfDW7pcJVLIT+anakQz79zb8WGMlCqkqR1yd3Y5 qMSngRa5XihKAs0tYsZ1TzQrjQ== X-Google-Smtp-Source: AOwi7QAhGIMpPrb08s9yPYb8sDkX9I98gs6H/lJVlEhZGli37GvR53mv3RssDKAysV4bSFHZ+fU+KA== X-Received: by 10.223.134.154 with SMTP id 26mr2174240wrx.137.1507295489542; Fri, 06 Oct 2017 06:11:29 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id k141sm1638943wmg.15.2017.10.06.06.11.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Oct 2017 06:11:28 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] Move i386.o to arch/i386.o Date: Fri, 6 Oct 2017 14:11:22 +0100 Message-Id: <1507295482-21378-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes This patch changes the build that arch/i386.c is built to arch/i386.o, instead of i386.o. I pushed it in. gdb: 2017-10-06 Yao Qi * Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o. * configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 2 +- gdb/configure.tgt | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 559c3b8..fc19c8b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-10-06 Yao Qi + + * Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o. + * configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o. + 2017-10-06 Pedro Alves * windows-nat.c: Include . diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b831ab6..c40cb76 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -793,6 +793,7 @@ ALL_64_TARGET_OBS = \ # All other target-dependent objects files (used with --enable-targets=all). ALL_TARGET_OBS = \ arc-tdep.o \ + arch/i386.o \ arm.o \ arm-bsd-tdep.o \ arm-get-next-pcs.o \ @@ -821,7 +822,6 @@ ALL_TARGET_OBS = \ hppa-nbsd-tdep.o \ hppa-obsd-tdep.o \ hppa-tdep.o \ - i386.o \ i386-bsd-tdep.o \ i386-cygwin-tdep.o \ i386-darwin-tdep.o \ diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 96cc7ee..4b3be3f 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -36,7 +36,7 @@ case $targ in ;; esac -i386_tobjs="i386-tdep.o i386.o i387-tdep.o" +i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o" amd64_tobjs="amd64-tdep.o arch/amd64.o" # Here are three sections to get a list of target specific object