diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:38:16 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:38:16 +0000 |
commit | 7ccb0be9545330795513b699b8ec1d6770c0e755 (patch) | |
tree | 045f83c38c5cccddcd710ec12ebfb1fd788cdb47 /gdb/testsuite/gdb.mi | |
parent | 5eccfcc2d40480392c5b9bfe028cdddae025093c (diff) | |
download | gdb-7ccb0be9545330795513b699b8ec1d6770c0e755.zip gdb-7ccb0be9545330795513b699b8ec1d6770c0e755.tar.gz gdb-7ccb0be9545330795513b699b8ec1d6770c0e755.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb680.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb680.exp b/gdb/testsuite/gdb.mi/gdb680.exp index 63b8f11..5af285a 100644 --- a/gdb/testsuite/gdb.mi/gdb680.exp +++ b/gdb/testsuite/gdb.mi/gdb680.exp @@ -27,7 +27,7 @@ if [mi_gdb_start] { proc do_test {count} { mi_gdb_test "-data-list-register-names -1" \ - {\^error,msg=\"bad register number\"} \ + {\^error,msg=\"No registers.\"} \ "-data-list-register-names -1, try $count" } |