aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-02-24 05:43:35 +0000
committerBob Manson <manson@cygnus>1997-02-24 05:43:35 +0000
commit40ac16240a6232f31d8b29278a610cee3b6a35cf (patch)
tree63a7bdfdddbf860e72dde81594e22d9597444524 /gdb/testsuite/gdb.disasm
parent2f671f8415a5e7a780a7fb50586891b3342c4577 (diff)
downloadgdb-40ac16240a6232f31d8b29278a610cee3b6a35cf.zip
gdb-40ac16240a6232f31d8b29278a610cee3b6a35cf.tar.gz
gdb-40ac16240a6232f31d8b29278a610cee3b6a35cf.tar.bz2
* config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect. * lib/gdb.exp(gdb_expect): New function.
Diffstat (limited to 'gdb/testsuite/gdb.disasm')
-rw-r--r--gdb/testsuite/gdb.disasm/mn10200.exp36
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/testsuite/gdb.disasm/mn10200.exp b/gdb/testsuite/gdb.disasm/mn10200.exp
index e62d231..dc19d90 100644
--- a/gdb/testsuite/gdb.disasm/mn10200.exp
+++ b/gdb/testsuite/gdb.disasm/mn10200.exp
@@ -47,7 +47,7 @@ proc add_tests { } {
global decimal
send_gdb "x/12i add_tests\n"
- expect {
+ gdb_expect {
-re "
.*add d1,d2.*
.*add d2,a3.*
@@ -73,7 +73,7 @@ proc bcc_tests { } {
global decimal
send_gdb "x/15i bCC_tests\n"
- expect {
+ gdb_expect {
-re "
.*beq 0x\[0-9a-f]+ <bCC_tests>.*
.*bne 0x\[0-9a-f]+ <bCC_tests>.*
@@ -102,7 +102,7 @@ proc bccx_tests { } {
global decimal
send_gdb "x/14i bCCx_tests\n"
- expect {
+ gdb_expect {
-re "
.*beqx 0x\[0-9a-f]+ <bCCx_tests>.*
.*bnex 0x\[0-9a-f]+ <bCCx_tests>.*
@@ -130,7 +130,7 @@ proc bit_tests { } {
global decimal
send_gdb "x/4 bit_tests\n"
- expect {
+ gdb_expect {
-re "
.*btst 64,d1.*
.*btst 8192,d2.*
@@ -148,7 +148,7 @@ proc cmp_tests { } {
global decimal
send_gdb "x/9i cmp_tests\n"
- expect {
+ gdb_expect {
-re "
.*cmp d1,d2.*
.*cmp d2,a3.*
@@ -171,7 +171,7 @@ proc extend_tests { } {
global decimal
send_gdb "x/5i extend_tests\n"
- expect {
+ gdb_expect {
-re "
.*ext d1.*
.*extx d2.*
@@ -190,7 +190,7 @@ proc logical_tests { } {
global decimal
send_gdb "x/11i logical_tests\n"
- expect {
+ gdb_expect {
-re "
.*and d1,d2.*
.*and 127,d2.*
@@ -215,7 +215,7 @@ proc mov_tests_1 { } {
global decimal
send_gdb "x/12i mov_tests_1\n"
- expect {
+ gdb_expect {
-re "
.*mov d1,a2.*
.*mov a2,d1.*
@@ -241,7 +241,7 @@ proc mov_tests_2 { } {
global decimal
send_gdb "x/9 mov_tests_2\n"
- expect {
+ gdb_expect {
-re "
.*mov \\(d1,a1\\),d2.*
.*mov \\(0x8000.*\\),d1.*
@@ -264,7 +264,7 @@ proc mov_tests_3 { } {
global decimal
send_gdb "x/10 mov_tests_3\n"
- expect {
+ gdb_expect {
-re "
.*mov d1,\\(a2\\).*
.*mov d1,\\(32,a2\\).*
@@ -288,7 +288,7 @@ proc mov_tests_4 { } {
global decimal
send_gdb "x/8 mov_tests_4\n"
- expect {
+ gdb_expect {
-re "
.*mov a1,\\(d2,a2\\).*
.*mov a1,\\(0x80.*\\).*
@@ -310,7 +310,7 @@ proc movb_tests { } {
global decimal
send_gdb "x/12 movb_tests\n"
- expect {
+ gdb_expect {
-re "
.*movb \\(8,a2\\),d1.*
.*movb \\(256,a2\\),d1.*
@@ -336,7 +336,7 @@ proc movbu_tests { } {
global decimal
send_gdb "x/7 movbu_tests\n"
- expect {
+ gdb_expect {
-re "
.*movbu \\(a2\\),d1.*
.*movbu \\(8,a2\\),d1.*
@@ -357,7 +357,7 @@ proc movx_tests { } {
global decimal
send_gdb "x/6 movx_tests\n"
- expect {
+ gdb_expect {
-re "
.*movx \\(8,a2\\),d1.*
.*movx \\(256,a2\\),d1.*
@@ -377,7 +377,7 @@ proc muldiv_tests { } {
global decimal
send_gdb "x/3 muldiv_tests\n"
- expect {
+ gdb_expect {
-re "
.*mul d1,d2.*
.*mulu d2,d3.*
@@ -394,7 +394,7 @@ proc misc_tests { } {
global decimal
send_gdb "x/9 misc_tests\n"
- expect {
+ gdb_expect {
-re "
.*jmp 0x\[0-9a-f]+ <main>.*
.*jmp 0x\[0-9a-f]+ <start>.*
@@ -417,7 +417,7 @@ proc shift_tests { } {
global decimal
send_gdb "x/4i shift_tests\n"
- expect {
+ gdb_expect {
-re "
.*asr d2.*
.*lsr d3.*
@@ -435,7 +435,7 @@ proc sub_tests { } {
global decimal
send_gdb "x/9i sub_tests\n"
- expect {
+ gdb_expect {
-re "
.*sub d1,d2.*
.*sub d2,a3.*