binutils-gdb/gdb/testsuite/gdb.linespec
Pedro Alves e3919f3e89 Fix gdb.linespec/cpls-ops.exp on 32-bit
gdb.linespec/cpls-ops.exp is currently failing on x86-64 -m32 and other
32-bit ports:

 b test_op_new::operator new(unsigned int) FAIL: gdb.linespec/cpls-ops.exp: operator-new: tab complete "b test_op_new::operator" (timeout)
 ^CQuit
 (gdb) complete b test_op_new::operator
 b test_op_new::operator new(unsigned int)
 (gdb) FAIL: gdb.linespec/cpls-ops.exp: operator-new: cmd complete "b test_op_new::operator"

The problem is simply that the testcase incorrectly assumes that
size_t is "unsigned long".

Fix this by extracting the right type with the "ptype" command.

gdb/testsuite/ChangeLog:
2017-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.linespec/cpls-ops.exp
	(check_explicit_skips_function_argument): Extract the underlying
	type of size_t instead of hardcoding it.
2017-11-30 16:32:10 +00:00
..
base
3explicit.c
body.h
break-ask.exp
break-asm-file0.s
break-asm-file1.s
break-asm-file.c
break-asm-file.exp
cpcompletion.exp Make "break foo" find "A::foo", A::B::foo", etc. [C++ and wild matching] 2017-11-29 19:43:48 +00:00
cpexplicit.cc
cpexplicit.exp
cpls2.cc
cpls-abi-tag.cc Breakpoints in symbols with ABI tags (PR c++/19436) 2017-11-29 19:46:41 +00:00
cpls-abi-tag.exp Breakpoints in symbols with ABI tags (PR c++/19436) 2017-11-29 19:46:41 +00:00
cpls-hyphen.cc
cpls-ops.cc
cpls-ops.exp Fix gdb.linespec/cpls-ops.exp on 32-bit 2017-11-30 16:32:10 +00:00
cpls.cc
explicit2.c
explicit.c
explicit.exp Make "break foo" find "A::foo", A::B::foo", etc. [C++ and wild matching] 2017-11-29 19:43:48 +00:00
keywords.c
keywords.exp
linespec.exp
ls-dollar.cc
ls-dollar.exp
ls-errs.c
ls-errs.exp
lspec.cc
lspec.h
macro-relative.c
macro-relative.exp
skip-two.exp
thread.c
thread.exp