This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Set current_gdbarch to NULL attempt #3
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 08 May 2002 16:45:38 -0400
- Subject: Re: [patch/rfc] Set current_gdbarch to NULL attempt #3
- References: <3CD322F6.3020104@cygnus.com>
> 2002-05-03 Andrew Cagney <ac131313@redhat.com>
>
> * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
> (clear_gdbarch_swap): New function.
> (initialize_non_multiarch): Call.
> (gdbarch_update_p): Before calling init(), swap out and clear the
> existing architecture.
> * gdbarch.c: Regenerate.
>
[here we go again ...]
I've checked it in having tested GNU/Linix i386 native, arm-elf cross
and NetBSD/PPC native.
Hopefully this time the change will survive a bit longer than a few
hours :-)
enjoy,
Andrew