mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* gdb.cp/ctti.exp: Correct return values for unsigned char functions.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.cp/ctti.exp: Correct return values for unsigned char functions.
|
||||||
|
|
||||||
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
|
* gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
|
||||||
|
@ -112,7 +112,7 @@ gdb_test_multiple "print add<float>(2.25,2.25)" "print add<float>(2.25,2.25)" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdb_test_multiple "print add<unsigned char>('A','A')" "print add<unsigned char>('A','A')" {
|
gdb_test_multiple "print add<unsigned char>('A','A')" "print add<unsigned char>('A','A')" {
|
||||||
-re "\\$\[0-9\]+ = -126 .*\r\n$gdb_prompt $" {
|
-re "\\$\[0-9\]+ = 130 .*\r\n$gdb_prompt $" {
|
||||||
pass "print add<unsigned char>('A','A')"
|
pass "print add<unsigned char>('A','A')"
|
||||||
}
|
}
|
||||||
-re "No symbol \"add<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
-re "No symbol \"add<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
||||||
@ -142,7 +142,7 @@ gdb_test_multiple "print add2<float>(2.25,2.25)" "print add2<float>(2.25,2.25)"
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdb_test_multiple "print add2<unsigned char>('A','A')" "print add2<unsigned char>('A','A')" {
|
gdb_test_multiple "print add2<unsigned char>('A','A')" "print add2<unsigned char>('A','A')" {
|
||||||
-re "\\$\[0-9]+ = -126 .*$gdb_prompt $" {
|
-re "\\$\[0-9]+ = 130 .*$gdb_prompt $" {
|
||||||
pass "print add2<unsigned char>('A','A')"
|
pass "print add2<unsigned char>('A','A')"
|
||||||
}
|
}
|
||||||
-re "No symbol \"add2<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
-re "No symbol \"add2<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
||||||
@ -172,7 +172,7 @@ gdb_test_multiple "print add3<float>(2.25,2.25)" "print add3<float>(2.25,2.25)"
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdb_test_multiple "print add3<unsigned char>('A','A')" "print add3<unsigned char>('A','A')" {
|
gdb_test_multiple "print add3<unsigned char>('A','A')" "print add3<unsigned char>('A','A')" {
|
||||||
-re "\\$\[0-9]+ = -126 .*$gdb_prompt $" {
|
-re "\\$\[0-9]+ = 130 .*$gdb_prompt $" {
|
||||||
pass "print add3<unsigned char>('A','A')"
|
pass "print add3<unsigned char>('A','A')"
|
||||||
}
|
}
|
||||||
-re "No symbol \"add3<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
-re "No symbol \"add3<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
||||||
@ -202,7 +202,7 @@ gdb_test_multiple "print add4<float>(2.25,2.25)" "print add4<float>(2.25,2.25)"
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdb_test_multiple "print add4<unsigned char>('A','A')" "print add4<unsigned char>('A','A')" {
|
gdb_test_multiple "print add4<unsigned char>('A','A')" "print add4<unsigned char>('A','A')" {
|
||||||
-re "\\$\[0-9]+ = -126 .*$gdb_prompt $" {
|
-re "\\$\[0-9]+ = 130 .*$gdb_prompt $" {
|
||||||
pass "print add4<unsigned char>('A','A')"
|
pass "print add4<unsigned char>('A','A')"
|
||||||
}
|
}
|
||||||
-re "No symbol \"add4<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
-re "No symbol \"add4<unsigned char>\" in current context.\r\n$gdb_prompt $" {
|
||||||
|
Reference in New Issue
Block a user