forked from Imagelibrary/binutils-gdb
2005-09-27 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# This testcase is part of GDB, the GNU debugger.
|
||||
|
||||
# Copyright 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
# Copyright 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -131,7 +131,7 @@ set signof_char [get_valueof "/d" "(int) (char) -1" -1]
|
||||
set signof_signed_char [get_valueof "/d" "(int) (signed char) -1" -1]
|
||||
set signof_unsigned_char [get_valueof "/d" "(int) (unsigned char) -1" -1]
|
||||
|
||||
check_valueof "'\\\\377'" ${signof_byte}
|
||||
check_valueof "'\\377'" ${signof_byte}
|
||||
check_valueof "(int) (char) -1" ${signof_char}
|
||||
check_valueof "(int) (signed char) -1" ${signof_signed_char}
|
||||
check_valueof "(int) (unsigned char) -1" ${signof_unsigned_char}
|
||||
|
||||
Reference in New Issue
Block a user