From 0105cee2bed30b7db6f337c824a16055daaadf65 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 2 Nov 2009 15:53:53 +0000 Subject: [PATCH] * gdb.cp/ctti.exp: Correct return values for unsigned char functions. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.cp/ctti.exp | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 617ff03aaf8..c7579af246f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-11-02 Daniel Jacobowitz + + * gdb.cp/ctti.exp: Correct return values for unsigned char functions. + 2009-11-02 Jan Kratochvil * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs. diff --git a/gdb/testsuite/gdb.cp/ctti.exp b/gdb/testsuite/gdb.cp/ctti.exp index e2f5a1f8b5a..4bc861bb985 100644 --- a/gdb/testsuite/gdb.cp/ctti.exp +++ b/gdb/testsuite/gdb.cp/ctti.exp @@ -112,7 +112,7 @@ gdb_test_multiple "print add(2.25,2.25)" "print add(2.25,2.25)" { } gdb_test_multiple "print add('A','A')" "print add('A','A')" { - -re "\\$\[0-9\]+ = -126 .*\r\n$gdb_prompt $" { + -re "\\$\[0-9\]+ = 130 .*\r\n$gdb_prompt $" { pass "print add('A','A')" } -re "No symbol \"add\" in current context.\r\n$gdb_prompt $" { @@ -142,7 +142,7 @@ gdb_test_multiple "print add2(2.25,2.25)" "print add2(2.25,2.25)" } gdb_test_multiple "print add2('A','A')" "print add2('A','A')" { - -re "\\$\[0-9]+ = -126 .*$gdb_prompt $" { + -re "\\$\[0-9]+ = 130 .*$gdb_prompt $" { pass "print add2('A','A')" } -re "No symbol \"add2\" in current context.\r\n$gdb_prompt $" { @@ -172,7 +172,7 @@ gdb_test_multiple "print add3(2.25,2.25)" "print add3(2.25,2.25)" } gdb_test_multiple "print add3('A','A')" "print add3('A','A')" { - -re "\\$\[0-9]+ = -126 .*$gdb_prompt $" { + -re "\\$\[0-9]+ = 130 .*$gdb_prompt $" { pass "print add3('A','A')" } -re "No symbol \"add3\" in current context.\r\n$gdb_prompt $" { @@ -202,7 +202,7 @@ gdb_test_multiple "print add4(2.25,2.25)" "print add4(2.25,2.25)" } gdb_test_multiple "print add4('A','A')" "print add4('A','A')" { - -re "\\$\[0-9]+ = -126 .*$gdb_prompt $" { + -re "\\$\[0-9]+ = 130 .*$gdb_prompt $" { pass "print add4('A','A')" } -re "No symbol \"add4\" in current context.\r\n$gdb_prompt $" { -- 2.30.2