From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10222 invoked by alias); 4 Oct 2013 19:27:06 -0000 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 Received: (qmail 10211 invoked by uid 89); 4 Oct 2013 19:27:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f42.google.com Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Oct 2013 19:27:05 +0000 Received: by mail-wg0-f42.google.com with SMTP id m15so2567061wgh.1 for ; Fri, 04 Oct 2013 12:27:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=39XmaPXEtfu7dbTGNThjulJY9RamYhB21/f6sU2+x6g=; b=AVyu9fbadmXOohh6rOaoYpSEhfnBNhkPzyXwwbCBA6rZyxfGiKaCjOHZGuZ6CyqOjv R4uroFz30kM8gXcKbvptNao4hHiQFKS9fyzlY5NNxqdJWVn6eyA4ZHL1jg9KjxvuGbpH REZjKEG+SE36N8vpDwe847vR4Kfg9g5nCUjc2X+/D1Yda/BP4LzCgsOPOXGA0BCCPlYU oapkiXejBpdTEbl1CLABHdjZLfHhY/1mnK5UTgvLv5SLXrFJcZuM1/uZsDuPQQWyV+Js 46JMV88sWmCsGpPEPUQjtizg783SiA+NzrAn/aGMjk8OoNtRI5hPNfTV4rbD/KWxhPrI MBqw== X-Gm-Message-State: ALoCoQnz+hkm8L84pLlmwmTRbjfL+h4pQW7eDF/Em9mAs1zPH4/1BI3asQNvhGUHuuWwdwvDUuU1 X-Received: by 10.194.80.39 with SMTP id o7mr14407747wjx.39.1380914822409; Fri, 04 Oct 2013 12:27:02 -0700 (PDT) Received: from localhost.localdomain (cpc6-seac21-2-0-cust453.7-2.cable.virginmedia.com. [82.1.113.198]) by mx.google.com with ESMTPSA id i8sm12894744wiy.6.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 04 Oct 2013 12:27:01 -0700 (PDT) Message-ID: <524F1684.8070804@linaro.org> Date: Fri, 04 Oct 2013 19:27:00 -0000 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: patches@linaro.org Subject: [PATCH] gdb/aarch64-linux-tdep.c: Call linux_init_abi. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00155.txt.bz2 If we are running on a Linux platform we should call linux_init_abi in order to get all the useful hooks it enables. gdb/ChangeLog: 2013-10-04 Will Newton * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call linux_init_abi. --- gdb/aarch64-linux-tdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 8e66425..bcfcce2 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -270,6 +270,8 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->lowest_pc = 0x8000; + linux_init_abi (info, gdbarch); + set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); -- 1.8.1.4