mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
c8ed8c8ac3
When running test-case gdb.mi/mi-var-child-f.exp on openSUSE Tumbleweed (with glibc 2.34) I run into: ... (gdb) ^M PASS: gdb.mi/mi-var-child-f.exp: mi runto prog_array Expecting: ^(-var-create array \* array[^M ]+)?(\^done,name="array",numchild="[0-9]+",value=".*",type=.*,has_more="0"[^M ]+[(]gdb[)] ^M [ ]*) -var-create array * array^M &"Attempt to use a type name as an expression.\n"^M ^error,msg="-var-create: unable to create variable object"^M (gdb) ^M FAIL: gdb.mi/mi-var-child-f.exp: create local variable array (unexpected output) ... The problem is that the name array is used both: - as the name for a local variable - as the name of a type in glibc, in file malloc/dynarray-skeleton.c, as included by nss/nss_files/files-hosts.c. Fix this by ignoring the shared lib symbols. Likewise in a couple of other fortran tests. Tested on x86_64-linux. |
||
---|---|---|
.. | ||
allocated.exp | ||
allocated.f90 | ||
array-bounds-high.exp | ||
array-bounds-high.f90 | ||
array-bounds.exp | ||
array-bounds.f90 | ||
array-element.exp | ||
array-element.f | ||
array-slices-bad.exp | ||
array-slices-bad.f90 | ||
array-slices-sub-slices.exp | ||
array-slices-sub-slices.f90 | ||
array-slices.exp | ||
array-slices.f90 | ||
associated.exp | ||
associated.f90 | ||
block-data.exp | ||
block-data.f | ||
call-no-debug-func.f90 | ||
call-no-debug-prog.f90 | ||
call-no-debug.exp | ||
charset.exp | ||
charset.f90 | ||
class-allocatable-array.exp | ||
class-allocatable-array.f90 | ||
common-block.exp | ||
common-block.f90 | ||
completion.exp | ||
completion.f90 | ||
complex.exp | ||
complex.f90 | ||
debug-expr.exp | ||
debug-expr.f90 | ||
derived-type-function.exp | ||
derived-type-function.f90 | ||
derived-type-striding.exp | ||
derived-type-striding.f90 | ||
derived-type.exp | ||
derived-type.f90 | ||
dot-ops.exp | ||
dynamic-ptype-whatis.exp | ||
dynamic-ptype-whatis.f90 | ||
exprs.exp | ||
function-calls.exp | ||
function-calls.f90 | ||
info-modules.exp | ||
info-types-2.f90 | ||
info-types.exp | ||
info-types.f90 | ||
intrinsics.exp | ||
intrinsics.f90 | ||
intvar-array.exp | ||
intvar-array.f90 | ||
intvar-dynamic-types.exp | ||
intvar-dynamic-types.f90 | ||
lbound-ubound.exp | ||
lbound-ubound.F90 | ||
library-module-lib.f90 | ||
library-module-main.f90 | ||
library-module.exp | ||
logical.exp | ||
logical.f90 | ||
max-depth.exp | ||
max-depth.f90 | ||
mixed-lang-stack.c | ||
mixed-lang-stack.cpp | ||
mixed-lang-stack.exp | ||
mixed-lang-stack.f90 | ||
module.exp | ||
module.f90 | ||
multi-dim.exp | ||
multi-dim.f90 | ||
nested-funcs-2.exp | ||
nested-funcs-2.f90 | ||
nested-funcs.exp | ||
nested-funcs.f90 | ||
pointer-to-pointer.exp | ||
pointer-to-pointer.f90 | ||
pointers.f90 | ||
print_type.exp | ||
print-formatted.exp | ||
print-formatted.f90 | ||
printing-types.exp | ||
printing-types.f90 | ||
ptr-indentation.exp | ||
ptr-indentation.f90 | ||
ptype-on-functions.exp | ||
ptype-on-functions.f90 | ||
rank.exp | ||
rank.f90 | ||
shape.exp | ||
shape.f90 | ||
short-circuit-argument-list.exp | ||
short-circuit-argument-list.f90 | ||
size.exp | ||
size.f90 | ||
subarray.exp | ||
subarray.f | ||
type-kinds.exp | ||
type.f90 | ||
types.exp | ||
vla-alloc-assoc.exp | ||
vla-datatypes.exp | ||
vla-datatypes.f90 | ||
vla-history.exp | ||
vla-ptr-info.exp | ||
vla-ptype-sub.exp | ||
vla-ptype.exp | ||
vla-sizeof.exp | ||
vla-sub.f90 | ||
vla-type.exp | ||
vla-type.f90 | ||
vla-value-sub-arbitrary.exp | ||
vla-value-sub-finish.exp | ||
vla-value-sub.exp | ||
vla-value.exp | ||
vla.f90 | ||
whatis_type.exp |