From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 973 invoked by alias); 6 Mar 2002 11:09:38 -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 918 invoked from network); 6 Mar 2002 11:09:35 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 6 Mar 2002 11:09:35 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 8BE671E7D1 for ; Wed, 6 Mar 2002 12:09:30 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: Michal Ludvig Cc: gdb-patches@sources.redhat.com Subject: Re: x86-64-tdep.h cleanup References: <3C84EAA8.2000900@suse.cz> X-Yow: HELLO, everybody, I'm a HUMAN!! From: Andreas Schwab Date: Wed, 06 Mar 2002 03:09:00 -0000 In-Reply-To: <3C84EAA8.2000900@suse.cz> (Michal Ludvig's message of "Tue, 05 Mar 2002 16:56:24 +0100") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-03/txt/msg00069.txt.bz2 Michal Ludvig writes: |> Index: x86-64-tdep.c |> =================================================================== |> RCS file: /cvs/src/src/gdb/x86-64-tdep.c,v |> retrieving revision 1.10 |> diff -c -3 -p -r1.10 x86-64-tdep.c |> *** x86-64-tdep.c 2002/03/04 11:08:28 1.10 |> --- x86-64-tdep.c 2002/03/05 15:03:37 |> *************** int x86_64_register_raw_size_table[X86_6 |> *** 59,64 **** |> --- 59,69 ---- |> 4 |> }; |> |> + /* Prototypes of some functions from x86-64-linux-tdep.c */ |> + |> + gdbarch_frame_saved_pc_ftype x86_64_linux_frame_saved_pc; |> + gdbarch_saved_pc_after_call_ftype x86_64_linux_saved_pc_after_call; |> + |> /* Number of bytes of storage in the actual machine representation for |> register REGNO. */ |> int I think the registration of the Linux specific gdbarch functions should be moved to x86-64-linux-tdep.c. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."