aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:14:01 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:14:01 +0000
commit5d3729b5d11ada0b369a965d4dcb40ace00e8d84 (patch)
treef91748320ad3e1a17d87d5aed851ba2261126a07 /gdb/testsuite
parent78267919d631833aaba8deb8c2febf119f653227 (diff)
downloadgdb-5d3729b5d11ada0b369a965d4dcb40ace00e8d84.zip
gdb-5d3729b5d11ada0b369a965d4dcb40ace00e8d84.tar.gz
gdb-5d3729b5d11ada0b369a965d4dcb40ace00e8d84.tar.bz2
ChangeLog:
* printcmd.c (next_gdbarch): New static variable. (set_next_address, do_examine, x_command): Set it. (decode_format): Use 'a' size to indicate width of an address. (do_examine): Add GDBARCH argument. Handle 'a' size. (x_command): Pass architecture to do_examine. Error if called without argument the first time. (do_one_display): Pass architecture to do_examine. (examine_i_type, examine_b_type, examine_h_type, examine_w_type, examine_g_type): Remove. (_initialize_printcmd): Do not initialize them. (do_examine): Use builin_type_int... instead of examine_..._type. testsuite/ChangeLog: * gdb.base/default.exp: Update test case for "x" changes.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/default.exp13
2 files changed, 5 insertions, 12 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index fb8cc9a..f3f8c29 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.base/default.exp: Update test case for "x" changes.
+
2009-07-01 Tristan Gingold <gingold@adacore.com>
* gdb.base/bigcore.exp: Make darwin untested.
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index b1f9dd2..d47d263 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -798,17 +798,6 @@ gdb_test "whatis" "The history is empty." "whatis"
#test where
gdb_test "where" "No stack." "where"
#test x
-#The case in which it prints a number is for vxgdb.
-send_gdb "x\n"
-gdb_expect {
- -re "0x0:.*Cannot access memory at address 0x0..*$gdb_prompt $" {
- pass "x"
- }
- -re "0x0:.*Error accessing memory address 0x0:.*$gdb_prompt $" {
- pass "x"
- }
- -re ".*$gdb_prompt $" { fail "x" }
- timeout { fail "(timeout) x" }
-}
+gdb_test "x" "Argument required .starting display address.*" "x"
gdb_exit