mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
gdb
PR exp/7643: * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call coerce_array on result. gdb/testsuite PR exp/7643: * gdb.base/printcmds.exp (test_print_string_constants): Remove setup_kfail.
This commit is contained in:
parent
b14e635ec4
commit
708ead4e05
@ -1,3 +1,9 @@
|
||||
2010-01-26 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR exp/7643:
|
||||
* eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call
|
||||
coerce_array on result.
|
||||
|
||||
2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
|
||||
|
||||
* cp-namespace.c (cp_lookup_symbol_namespace): Added
|
||||
|
@ -2629,7 +2629,7 @@ evaluate_subexp_for_address (struct expression *exp, int *pos,
|
||||
goto default_case_after_eval;
|
||||
}
|
||||
|
||||
return x;
|
||||
return coerce_array (x);
|
||||
|
||||
case UNOP_MEMVAL:
|
||||
(*pos) += 3;
|
||||
|
@ -1,3 +1,9 @@
|
||||
2010-01-26 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR exp/7643:
|
||||
* gdb.base/printcmds.exp (test_print_string_constants): Remove
|
||||
setup_kfail.
|
||||
|
||||
2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
|
||||
|
||||
* gdb.cp/nsrecurs.exp: New test.
|
||||
|
@ -647,7 +647,6 @@ proc test_print_string_constants {} {
|
||||
gdb_test "p *\"foo\"" " = 102 'f'"
|
||||
gdb_test "ptype *\"foo\"" " = char"
|
||||
gdb_test "p &*\"foo\"" " = \"foo\""
|
||||
setup_kfail "gdb/538" *-*-*
|
||||
gdb_test "ptype &*\"foo\"" "type = char \\*"
|
||||
gdb_test "p (char *)\"foo\"" " = \"foo\""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user