From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11252 invoked by alias); 8 Nov 2004 11:48:49 -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 11208 invoked from network); 8 Nov 2004 11:48:43 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 8 Nov 2004 11:48:43 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 1AB06FF489C; Mon, 8 Nov 2004 11:55:35 +0100 (CET) To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [COMMIT] Convert *BSD/m68k to use target vector inheritance References: <200411072131.iA7LVPC6065067@elgar.sibelius.xs4all.nl> From: Andreas Schwab X-Yow: I like the way ONLY their mouths move.. They look like DYING OYSTERS Date: Mon, 08 Nov 2004 11:48:00 -0000 In-Reply-To: <200411072131.iA7LVPC6065067@elgar.sibelius.xs4all.nl> (Mark Kettenis's message of "Sun, 7 Nov 2004 22:31:25 +0100 (CET)") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-11/txt/msg00124.txt.bz2 Mark Kettenis writes: > @@ -223,6 +223,13 @@ void _initialize_m68kbsd_nat (void); > void > _initialize_m68kbsd_nat (void) > { > + struct target_ops *t; > + > + t = inf_ptrace_target (); > + t->to_fetch_registers = vaxbsd_fetch_inferior_registers; > + t->to_store_registers = vaxbsd_store_inferior_registers; Are you sure you didn't want to use m68kbsd_fetch_inferior_registers and m68kbsd_store_inferior_registers here? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."