From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24903 invoked by alias); 12 Sep 2003 19:43:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24879 invoked from network); 12 Sep 2003 19:43:37 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 12 Sep 2003 19:43:37 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AB8692B89; Fri, 12 Sep 2003 15:43:34 -0400 (EDT) Message-ID: <3F6221E6.3020502@redhat.com> Date: Fri, 12 Sep 2003 19:43:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Fix FreeBSD/amd64 sigtramp recognition References: <200309121930.h8CJU1mh004538@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00270.txt.bz2 > This never worked :-( but does now :-). > > Checked in on mainline. > > Andrew, can I check this in on the branch too? The FreeBSD/amd64 is a > new target, so this doesn't fix a regression, but it fixes a genuine > bug. And it can't hurt other targets. Yep. Andrew > Index: ChangeLog > from Mark Kettenis > > * amd64fbsd-tdep.c: Fix sigtramp recognition. > (amd64fbsd_sigcontext_addr): Rewrite. > (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize > with correct values. > (amd64fbsd_sc_reg_offset): Initialize with correct values. > (amd64fbsd_init_abi): Fix typo. >