This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [COMMIT] Convert *BSD/m68k to use target vector inheritance
- From: Andreas Schwab <schwab at suse dot de>
- To: Mark Kettenis <kettenis at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 08 Nov 2004 11:50:42 +0100
- Subject: Re: [COMMIT] Convert *BSD/m68k to use target vector inheritance
- References: <200411072131.iA7LVPC6065067@elgar.sibelius.xs4all.nl>
Mark Kettenis <kettenis@gnu.org> 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."