diff options
Diffstat (limited to 'gdb/testsuite/gdb.ada/bp_c_mixed_case')
-rw-r--r-- | gdb/testsuite/gdb.ada/bp_c_mixed_case/foo_h731_021.adb | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/bp_c_mixed_case/qux.c | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/bp_c_mixed_case/foo_h731_021.adb b/gdb/testsuite/gdb.ada/bp_c_mixed_case/foo_h731_021.adb index 88e0c319be..7cd17c24ce 100644 --- a/gdb/testsuite/gdb.ada/bp_c_mixed_case/foo_h731_021.adb +++ b/gdb/testsuite/gdb.ada/bp_c_mixed_case/foo_h731_021.adb @@ -15,7 +15,10 @@ procedure Foo_H731_021 is Procedure C_Func; + Procedure C_FuncNoDebug; pragma Import (C, C_Func, "MixedCaseFunc"); + pragma Import (C, C_FuncNoDebug, "NoDebugMixedCaseFunc"); begin C_Func; + C_FuncNoDebug; end Foo_H731_021; diff --git a/gdb/testsuite/gdb.ada/bp_c_mixed_case/qux.c b/gdb/testsuite/gdb.ada/bp_c_mixed_case/qux.c new file mode 100644 index 0000000000..eea43041bf --- /dev/null +++ b/gdb/testsuite/gdb.ada/bp_c_mixed_case/qux.c @@ -0,0 +1,21 @@ +/* Copyright 2018 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +void +NoDebugMixedCaseFunc (void) +{ +} |