* gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
authorAndrew Cagney <cagney@redhat.com>
Wed, 8 May 2002 20:43:04 +0000 (20:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 8 May 2002 20:43:04 +0000 (20:43 +0000)
commit40af4b0c8bc36f24a8257e91b60b953d0d35d289
tree61f65d120f57eca16147ec79b334ee4737304937
parent4fe84f46c3820b03ae1cdbba8b3095bd0668a615
* 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.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.sh