This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMIT] Convert *BSD/m68k to use target vector inheritance


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]