From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30141 invoked by alias); 25 Jul 2009 20:51:37 -0000 Received: (qmail 30133 invoked by uid 22791); 25 Jul 2009 20:51:36 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Jul 2009 20:51:30 +0000 Received: from jupiter.vmware.com (mailhost5.vmware.com [10.16.68.131]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 28DFE13024; Sat, 25 Jul 2009 13:51:29 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by jupiter.vmware.com (Postfix) with ESMTP id 207FCDC3B1; Sat, 25 Jul 2009 13:51:29 -0700 (PDT) Message-ID: <4A6B6EBA.80806@vmware.com> Date: Sat, 25 Jul 2009 21:05:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Hui Zhu CC: Mark Kettenis , gdb-patches ml Subject: Re: [RFA/RFC Prec] Add Linux AMD64 process record support second version, (AMD64 Linux system call support) 3/3 References: <4A5A8438.6030005@vmware.com> <4A6121FC.3030205@vmware.com> <4A63C450.1080307@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2009-07/txt/msg00629.txt.bz2 Hui Zhu wrote: > Hi Michael, > > I still got fail with solib-reverse.exp with this patch. Did you include this diff? diff -u -p -r1.25 amd64-linux-tdep.c --- amd64-linux-tdep.c 2 Jul 2009 17:25:52 -0000 1.25 +++ amd64-linux-tdep.c 25 Jul 2009 20:51:17 -0000 @@ -291,6 +291,9 @@ amd64_linux_init_abi (struct gdbarch_inf set_gdbarch_fetch_tls_load_module_address (gdbarch, svr4_fetch_objfile_link_map); + /* GNU/Linux uses SVR4-style shared libraries. */ + set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); + /* Displaced stepping. */ set_gdbarch_displaced_step_copy_insn (gdbarch, amd64_displaced_step_copy_insn);