[PATCH] Remove deprecated_register_gdbarch_swap

Keith Seitz keiths@redhat.com
Wed Jun 27 20:53:00 GMT 2007


Hi,

I've committed the attached patch which works around the recent removal 
of deprecated_register_gdbarch_swap. Since we still (fortunately) have 
gdb-events which defines an event callback for architecture changes, 
this is an easy workaround: add a new command to the interpreter to do it.

Keith

ChangeLog
2007-06-27  Keith Seitz  <keiths@redhat.com>

         * generic/gdbtk-register.c (Gdbtk_Register_Init): Remove
         calls to deprecated_register_gdbarch_swap.
         Add "gdb_reg_arch_changed" command.
         * library/regwin.itb (arch_changed): Call gdb_reg_arch_changed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deprecated-register-swap.patch
Type: text/x-patch
Size: 2137 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/insight/attachments/20070627/ab3d5a72/attachment.bin>


More information about the Insight mailing list