Message ID | 1434629873-11668-7-git-send-email-sudipm.mukherjee@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AD623C0020 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Jun 2015 12:24:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E54D62081F for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Jun 2015 12:24:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30BED203EC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 18 Jun 2015 12:24:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5YpW-0003Qc-MC; Thu, 18 Jun 2015 12:22:02 +0000 Received: from mail-pd0-x22d.google.com ([2607:f8b0:400e:c02::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5Ymg-00009r-Qr; Thu, 18 Jun 2015 12:19:08 +0000 Received: by pdbki1 with SMTP id ki1so65647314pdb.1; Thu, 18 Jun 2015 05:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=u9G05Xb3QIqVAo6zL1//odrKMk0ymyp99St8DL3q9r0=; b=0XQWWLUKgdNKfVH5Fcb0Voat+scadyGs1NXeXTZVr7vfZDTX3IyEwpeEuEoNQBmaJm DoRvWCXuugAcOo6DjfRR4oDSGsso8sXrVHSzZzW7s+LKpioR+9kOWO7Pqwcy9ZkLRUw5 r5kibQwsSrwDtChbI8MQavSf/jszXvdOGHEWCvFSjw7ygQFWmbd207rsJhOQ2SVgoO1B GZ8pJxBfJHUEO/B5P1DhZIDwiGv9fGjt8/qcGpJGq39YAGem3UBLXbBJZGg/pCp79H4g ZptQFm/bGcF0W1kecW3xQGX4HpKojN0TY6Dd7B8HaUxcJWDFZGiptrB5CkLMTSc3Mpik 36Mw== X-Received: by 10.66.169.39 with SMTP id ab7mr20658945pac.109.1434629925521; Thu, 18 Jun 2015 05:18:45 -0700 (PDT) Received: from localhost.localdomain ([122.169.128.34]) by mx.google.com with ESMTPSA id qw13sm7986650pab.14.2015.06.18.05.18.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Jun 2015 05:18:44 -0700 (PDT) From: Sudip Mukherjee <sudipm.mukherjee@gmail.com> To: David Howells <dhowells@redhat.com>, Ulf Hansson <ulf.hansson@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, Johan Hovold <johan@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH v2 6/7] mn10300: kgdb_arch_set_pc Date: Thu, 18 Jun 2015 17:47:52 +0530 Message-Id: <1434629873-11668-7-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150618_051906_918075_FDFA0539 X-CRM114-Status: UNSURE ( 6.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-am33-list@redhat.com, linux-usb@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Sudip Mukherjee <sudipm.mukherjee@gmail.com>, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/mn10300/kernel/kgdb.c b/arch/mn10300/kernel/kgdb.c index 9977082..8a0ae2b 100644 --- a/arch/mn10300/kernel/kgdb.c +++ b/arch/mn10300/kernel/kgdb.c @@ -499,3 +499,8 @@ void kgdb_roundup_cpus(unsigned long flags) smp_jump_to_debugger(); } #endif + +void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip) +{ + regs->pc = ip; +}
While building it failed with: undefined reference to `kgdb_arch_set_pc' Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> --- arch/mn10300/kernel/kgdb.c | 5 +++++ 1 file changed, 5 insertions(+)