aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/maint.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-08-14 15:58:40 +0000
committerYao Qi <yao@codesourcery.com>2011-08-14 15:58:40 +0000
commitd93f7b5c9552338037fcb8fc03b3a04e21c478cd (patch)
treed58f54fca8f04dae26a3c4a478249ee3ddc05255 /gdb/testsuite/gdb.base/maint.exp
parent58dbd54186b324c1481454892e03c5fb8307dbc1 (diff)
downloadgdb-d93f7b5c9552338037fcb8fc03b3a04e21c478cd.zip
gdb-d93f7b5c9552338037fcb8fc03b3a04e21c478cd.tar.gz
gdb-d93f7b5c9552338037fcb8fc03b3a04e21c478cd.tar.bz2
gdb/testsuite/
* gdb.base/maint.exp: set data_section to ".neardata". * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine. * gdb.base/savedregs.exp: Handle SIGILL. * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine. * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
Diffstat (limited to 'gdb/testsuite/gdb.base/maint.exp')
-rw-r--r--gdb/testsuite/gdb.base/maint.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp
index 61ad439..2bd25936 100644
--- a/gdb/testsuite/gdb.base/maint.exp
+++ b/gdb/testsuite/gdb.base/maint.exp
@@ -394,6 +394,11 @@ gdb_test_multiple "maint info sections" "maint info sections" {
set data_section ER_RW
pass "maint info sections"
}
+ -re "Exec file:\r\n.*break($EXEEXT)?., file type.*neardata.*$gdb_prompt $" {
+ # c6x doesn't have .data section. It has .neardata and .fardata section.
+ set data_section ".neardata"
+ pass "maint info sections"
+ }
-re "Exec file:\r\n.*break($EXEEXT)?., file type.*$gdb_prompt $" {
pass "maint info sections"
}