* gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set.
This commit is contained in:
parent
3780c33708
commit
28558bdb36
2 changed files with 21 additions and 14 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
|
||||||
|
|
||||||
|
* gdb.base/setshow.exp: Don't run the set prompt tests if
|
||||||
|
the board has gdb_prompt set.
|
||||||
|
|
||||||
Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
|
Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
|
* gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
|
||||||
|
|
|
@ -176,6 +176,7 @@ gdb_test "set listsize 100" "" "set listsize 100"
|
||||||
#test show listsize 100
|
#test show listsize 100
|
||||||
gdb_test "show listsize" "Number of source lines gdb will list by default is 100..*" "show listsize (100)"
|
gdb_test "show listsize" "Number of source lines gdb will list by default is 100..*" "show listsize (100)"
|
||||||
|
|
||||||
|
if ![board_info target exists gdb_prompt] {
|
||||||
#test set prompt (FooBarBaz)
|
#test set prompt (FooBarBaz)
|
||||||
set newprompt "\\(FooBarBaz\\)"
|
set newprompt "\\(FooBarBaz\\)"
|
||||||
send_gdb "set prompt (FooBarBaz) \n"
|
send_gdb "set prompt (FooBarBaz) \n"
|
||||||
|
@ -198,6 +199,7 @@ gdb_expect {
|
||||||
-re "$gdb_prompt $" { pass "set prompt (gdb) " }
|
-re "$gdb_prompt $" { pass "set prompt (gdb) " }
|
||||||
timeout { fail "(timeout) set prompt (gdb) " }
|
timeout { fail "(timeout) set prompt (gdb) " }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#test set radix 11
|
#test set radix 11
|
||||||
gdb_test "set radix 11" "Unsupported output radix ``decimal 11''; output radix unchanged..*" "set radix 11"
|
gdb_test "set radix 11" "Unsupported output radix ``decimal 11''; output radix unchanged..*" "set radix 11"
|
||||||
|
|
Loading…
Reference in a new issue