mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2001-06-06 Jim Blandy <jimb@redhat.com>
|
2001-06-06 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
|
||||||
|
Don't forget to match the GDB prompt.
|
||||||
|
|
||||||
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
|
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
|
||||||
|
|
||||||
2001-06-04 Jim Blandy <jimb@redhat.com>
|
2001-06-04 Jim Blandy <jimb@redhat.com>
|
||||||
|
@ -238,11 +238,11 @@ test_expr "set variable v_unsigned_long = 0" "print (void*)v_unsigned_long" "\\$
|
|||||||
#
|
#
|
||||||
send_gdb "print sizeof (long long) > sizeof (long)\n"
|
send_gdb "print sizeof (long long) > sizeof (long)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re "\\$\[0-9\]* = $true" {
|
-re "\\$\[0-9\]* = $true.*$gdb_prompt" {
|
||||||
set ok 1
|
set ok 1
|
||||||
pass "sizeof (long long) > sizeof (long) (true)"
|
pass "sizeof (long long) > sizeof (long) (true)"
|
||||||
}
|
}
|
||||||
-re "\\$\[0-9\]* = $false" {
|
-re "\\$\[0-9\]* = $false.*$gdb_prompt" {
|
||||||
set ok 0
|
set ok 0
|
||||||
pass "sizeof (long long) > sizeof (long) (false)"
|
pass "sizeof (long long) > sizeof (long) (false)"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user