From patchwork Fri Oct 4 19:27:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 20838 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DF55425E85 for ; Fri, 4 Oct 2013 19:27:04 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id jy13sf9568873veb.0 for ; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=39XmaPXEtfu7dbTGNThjulJY9RamYhB21/f6sU2+x6g=; b=X35m5I6hgPVtVh9byosPszxCKOA1BDsQo/r+ehlzcn3/XFYTFT46TSYmOBq1aJ/XoK PCelU/6l9eTINHDl2EWNeeDKPsEUIEN04CkFXyrqXsLaALC6AkPV4I+zDYPOA0ZJbOr6 D3WZqnss2U0Xs5kOqLUZsSIGBS2cU0ZxtSBkb3YEv+/ccBJkXrZNOPV3UkzuR6hRyeIo gT9nCQ7SAZYV7wvaI/5nuB+4zNklp3GdXsnw1tNtz9W5SLHE5UWZ2FBc3MqdvvxDbgBv hBWFxz6p1ujLBn+jqjWElDhhPMddwP/uHdRk4YLW36pcEp9VDlvoXqoz6tZDoSmxWAxz NfNg== X-Received: by 10.236.135.211 with SMTP id u59mr13387233yhi.43.1380914824395; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.98.198 with SMTP id ek6ls1586245qeb.45.gmail; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) X-Received: by 10.52.161.231 with SMTP id xv7mr11482448vdb.1.1380914824253; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id s17si3735443vcu.89.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 12:27:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jy13so2712509veb.33 for ; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) X-Gm-Message-State: ALoCoQnpOTZIhKuZ++rXkbZlHCW79HZyvZMsXOsR+HUlOlJYpOZm3zwAyfc/SGDlxihLFAJ5nj6q X-Received: by 10.220.186.202 with SMTP id ct10mr13832519vcb.14.1380914824114; Fri, 04 Oct 2013 12:27:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp63639vcz; Fri, 4 Oct 2013 12:27:03 -0700 (PDT) X-Received: by 10.180.206.42 with SMTP id ll10mr8753223wic.50.1380914823148; Fri, 04 Oct 2013 12:27:03 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id hm6si6063440wjc.32.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 12:27:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=209.85.212.172; Received: by mail-wi0-f172.google.com with SMTP id hn9so2161826wib.17 for ; Fri, 04 Oct 2013 12:27:02 -0700 (PDT) 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 20:27:00 +0100 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. X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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);