ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:38:16 +0000 (18:38 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:38:16 +0000 (18:38 +0000)
commit7ccb0be9545330795513b699b8ec1d6770c0e755
tree045f83c38c5cccddcd710ec12ebfb1fd788cdb47
parent5eccfcc2d40480392c5b9bfe028cdddae025093c
ChangeLog:

* mi/mi-main.c (mi_cmd_data_list_register_names): Use selected
frame architecture instead of current_gdbarch.
(mi_cmd_data_list_changed_registers): Likewise.
(mi_cmd_data_list_register_values): Likewise.  Pass selected
frame to get_register.
(get_register): Add FRAME argument, use it as frame to retrieve
registers from (instead of selected frame).  Use frame architecture
instead of current_gdbarch.
(mi_cmd_data_write_register_values): Use current regcache
architecture instead of current_gdbarch.

testsuite/ChangeLog:

* gdb.mi/gdb680.exp: Update test for error message.
gdb/ChangeLog
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/gdb680.exp