binutils-gdb/gdb/testsuite/gdb.cp
Pedro Alves 7474326cb9 gdb.cp/call-c.exp C++ify
Make the testcase work when built with a C++ compiler.

gdb/testsuite/ChangeLog:

	* gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2020-09-18 00:09:20 +01:00
..
abstract-origin.cc
abstract-origin.exp
align.exp
ambiguous.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
ambiguous.exp
annota2.cc
annota2.exp
annota3.cc
annota3.exp
anon-ns2.cc
anon-ns.cc
anon-ns.exp
anon-struct.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
anon-struct.exp
anon-union.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
anon-union.exp
arg-reference.cc
arg-reference.exp
baseenum.cc
baseenum.exp
bool.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
bool.exp
breakpoint-locs-2.cc
breakpoint-locs.cc
breakpoint-locs.exp
breakpoint-locs.h
breakpoint.cc
breakpoint.exp
bs15503.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
bs15503.exp
call-c-1.c gdb.cp/call-c.exp C++ify 2020-09-18 00:09:20 +01:00
call-c.cc
call-c.exp
call-method-register.cc Move "register" test out of classes.exp to a separate testcase 2020-09-13 15:36:00 +01:00
call-method-register.exp Move "register" test out of classes.exp to a separate testcase 2020-09-13 15:36:00 +01:00
casts03.cc
casts.cc
casts.exp
chained-calls.cc
chained-calls.exp
class2.cc
class2.exp
classes.cc Move "register" test out of classes.exp to a separate testcase 2020-09-13 15:36:00 +01:00
classes.exp Move "register" test out of classes.exp to a separate testcase 2020-09-13 15:36:00 +01:00
cmpd-minsyms.cc
cmpd-minsyms.exp
constexpr-field.cc
constexpr-field.exp
converts.cc
converts.exp
cp-relocate.cc
cp-relocate.exp
cpcompletion.exp
cpexprs-debug-types.exp
cpexprs.cc
cpexprs.exp
cpexprs.exp.tcl
cplabel.cc
cplabel.exp
cplusfuncs.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
cplusfuncs.exp
cpsizeof.cc
cpsizeof.exp
ctti.exp
cttiadd1.cc
cttiadd2.cc
cttiadd3.cc
cttiadd.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
debug-expr.exp
demangle.exp
derivation2.cc
derivation.cc
derivation.exp
destrprint.cc
destrprint.exp
disasm-func-name.cc
disasm-func-name.exp
dispcxx.cc
dispcxx.exp
ena-dis-br-range.cc
ena-dis-br-range.exp
enum-class.cc
enum-class.exp
except-multi-location-lib.cc
except-multi-location-main.cc
except-multi-location.exp
exception.cc
exception.exp
exceptprint.cc
exceptprint.exp
expand-psymtabs-cxx.cc
expand-psymtabs-cxx.exp
expand-sals.cc
expand-sals.exp
extern-c.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
extern-c.exp
filename.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
filename.exp
formatted-ref.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
formatted-ref.exp
fpointer.cc
fpointer.exp
gdb1355.cc
gdb1355.exp
gdb2384-base.cc
gdb2384-base.h
gdb2384.cc
gdb2384.exp
gdb2495.cc
gdb2495.exp
hang1.cc
hang2.cc
hang3.cc
hang.exp
hang.H
impl-this.cc
impl-this.exp
includefile
infcall-dlopen-lib.cc
infcall-dlopen.cc
infcall-dlopen.exp
infcall-nodebug-c-d0.exp
infcall-nodebug-c-d1.exp
infcall-nodebug-c++-d0.exp
infcall-nodebug-c++-d1.exp
infcall-nodebug-lib.c
infcall-nodebug-main.c
infcall-nodebug.exp.tcl
inherit.exp Remove stale "register" bits from gdb.cp/misc.cc 2020-09-13 15:46:21 +01:00
iostream.cc
iostream.exp
koenig.cc
koenig.exp
local-static.c
local-static.cc
local-static.exp
local.cc
local.exp
m-data.cc
m-data.exp
m-static1.cc
m-static.cc
m-static.exp
m-static.h
maint.exp
many-args.cc
many-args.exp
mb-ctor.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
mb-ctor.exp
mb-inline1.cc
mb-inline2.cc
mb-inline.exp
mb-inline.h
mb-templates.cc
mb-templates.exp
member-name.cc
member-name.exp
member-ptr.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
member-ptr.exp
meth-typedefs.cc
meth-typedefs.exp
method2.cc
method2.exp
method.cc
method.exp
minsym-fallback-main.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
minsym-fallback.cc
minsym-fallback.exp
minsym-fallback.h
misc.cc Remove stale "register" bits from gdb.cp/misc.cc 2020-09-13 15:46:21 +01:00
misc.exp Remove stale "register" bits from gdb.cp/misc.cc 2020-09-13 15:46:21 +01:00
namelessclass.cc
namelessclass.exp
namelessclass.S
namespace1.cc
namespace-enum-main.cc
namespace-enum.cc
namespace-enum.exp
namespace-nested-import.cc
namespace-nested-import.exp
namespace.cc
namespace.exp
nested-types.cc
nested-types.exp
nextoverthrow.cc
nextoverthrow.exp
no-dmgl-verbose.cc
no-dmgl-verbose.exp
no-libstdcxx-probe.exp
non-trivial-retval.cc
non-trivial-retval.exp
noparam.cc
noparam.exp
nsalias.cc
nsalias.exp
nsdecl.cc
nsdecl.exp
nsimport.cc
nsimport.exp
nsnested.cc
nsnested.exp
nsnoimports.cc
nsnoimports.exp
nsrecurs.cc
nsrecurs.exp
nsstress.cc
nsstress.exp
nsusing.cc
nsusing.exp
operator.cc
operator.exp
oranking.cc
oranking.exp
overload-const.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
overload-const.exp
overload.cc
overload.exp
ovldbreak.cc
ovldbreak.exp
ovsrch1.cc
ovsrch2.cc
ovsrch3.cc
ovsrch4.cc
ovsrch.exp
ovsrch.h
paren-type.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
paren-type.exp
parse-lang.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
parse-lang.exp
pass-by-ref-2.cc
pass-by-ref-2.exp
pass-by-ref.exp
pr9067.cc
pr9067.exp
pr9167.cc
pr9167.exp
pr9594.cc
pr9631.cc
pr9631.exp
pr10687.cc
pr10687.exp
pr10728-x.cc
pr10728-x.h
pr10728-y.cc
pr10728.exp
pr12028.cc
pr12028.exp
pr17132.cc
pr17132.exp
pr17494.cc
pr17494.exp
pr-574.cc
pr-574.exp
pr-1023.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
pr-1023.exp
pr-1210.cc
pr-1210.exp
print-demangle.exp
printmethod.cc
printmethod.exp
psmang1.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
psmang2.cc
psmang.exp
psymtab-parameter.cc
psymtab-parameter.exp
ptype-cv-cp.cc
ptype-cv-cp.exp
ptype-flags.cc
ptype-flags.exp
punctuator.exp
re-set-overloaded.cc
re-set-overloaded.exp
readnow-language.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
readnow-language.exp
ref-params.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
ref-params.exp
ref-types.cc
ref-types.exp
rtti1.cc
rtti2.cc
rtti.exp
rtti.h
rvalue-ref-casts.cc
rvalue-ref-casts.exp
rvalue-ref-overload.cc
rvalue-ref-overload.exp
rvalue-ref-params.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
rvalue-ref-params.exp
rvalue-ref-sizeof.cc
rvalue-ref-sizeof.exp
rvalue-ref-types.cc
rvalue-ref-types.exp
save-bp-qualified.cc
save-bp-qualified.exp
scope-err.cc
scope-err.exp
shadow.cc
shadow.exp
smartp.cc
smartp.exp
static-method.cc
static-method.exp
static-print-quit.cc
static-print-quit.exp
static-typedef-print.cc
static-typedef-print.exp
step-and-next-inline.cc
step-and-next-inline.exp
step-and-next-inline.h
stub-array-size2.cc
stub-array-size.cc
stub-array-size.exp
stub-array-size.h
subtypes-2.cc
subtypes.cc
subtypes.exp
subtypes.h
temargs.cc
temargs.exp
templates.cc
templates.exp
try_catch.cc
try_catch.exp
typed-enum.cc
typed-enum.exp
typedef-base.cc
typedef-base.exp
typedef-operator.cc
typedef-operator.exp
typeid.cc
typeid.exp
userdef.cc
userdef.exp
using-crash.cc
using-crash.exp
var-tag-2.cc
var-tag-3.cc
var-tag-4.cc
var-tag.cc
var-tag.exp
virtbase2.cc gdb/testsuite: Explicitly return from main 2020-09-13 22:47:01 +01:00
virtbase2.exp
virtbase.cc
virtbase.exp
virtfunc2.cc
virtfunc2.exp
virtfunc.cc
virtfunc.exp
vla-cxx.cc
vla-cxx.exp
watch-cp.cc
watch-cp.exp
wide_char_types.c
wide_char_types.exp