aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:38:16 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:38:16 +0000
commit7ccb0be9545330795513b699b8ec1d6770c0e755 (patch)
tree045f83c38c5cccddcd710ec12ebfb1fd788cdb47 /gdb/testsuite
parent5eccfcc2d40480392c5b9bfe028cdddae025093c (diff)
downloadgdb-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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.mi/gdb680.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d4a35c8..877f527 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+ * gdb.mi/gdb680.exp: Update test for error message.
+
+2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
* gdb.base/annota1.exp: Allow multiple occurrences of the
frames-invalid annotation.
* gdb.cp/annota2.exp: Likewise.
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"
}