aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-09-29 19:24:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-09-29 19:24:46 +0000
commit8172766a9309627ee68f193fc5443af78f1d8f85 (patch)
treed6398c3d26c1c1e6fc16dbf778ccacc9001e3f21 /gdb/testsuite/gdb.base
parent0f73703cc3c04d3fa71e054d5ec7847e61b63a86 (diff)
downloadgdb-8172766a9309627ee68f193fc5443af78f1d8f85.zip
gdb-8172766a9309627ee68f193fc5443af78f1d8f85.tar.gz
gdb-8172766a9309627ee68f193fc5443af78f1d8f85.tar.bz2
gdb/testsuite/
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ... * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests. * gdb.arch/ia64-breakpoint-shadow.S: New file.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/breakpoint-shadow.exp24
1 files changed, 1 insertions, 23 deletions
diff --git a/gdb/testsuite/gdb.base/breakpoint-shadow.exp b/gdb/testsuite/gdb.base/breakpoint-shadow.exp
index a787bb6..fcc50dd 100644
--- a/gdb/testsuite/gdb.base/breakpoint-shadow.exp
+++ b/gdb/testsuite/gdb.base/breakpoint-shadow.exp
@@ -48,29 +48,7 @@ gdb_test_multiple "disass main" $test {
}
gdb_test "b [gdb_get_line_number "break-first"]" "Breakpoint \[0-9\] at .*" "First breakpoint placed"
-set test "Second breakpoint placed"
-gdb_test_multiple "b [gdb_get_line_number "break-second"]" $test {
- -re "Breakpoint \[0-9\] at (0x\[0-9a-f\]*):.*$gdb_prompt $" {
- pass $test
- set bpt2address $expect_out(1,string)
- }
-}
-
-if [istarget "ia64-*-*"] then {
- # Unoptimized code should not use the 3rd slot for the first instruction of
- # a source line. This is important for our test, because we want both
- # breakpoints ("Second breakpoint" and the following one) to be in the same
- # bundle.
-
- set test "Second breakpoint address is valid on ia64"
- if [string match "*\[01\]" $bpt2address] {
- pass $test
-
- gdb_test "b *($bpt2address + 1)" "Breakpoint \[0-9\] at .*" "Third breakpoint on ia64 in the Second breakpoint's bundle"
- } else {
- unresolved $test
- }
-}
+gdb_test "b [gdb_get_line_number "break-second"]" "Breakpoint \[0-9\] at .*" "Second breakpoint placed"
set test "disassembly with breakpoints"
gdb_test_multiple "disass main" $test {