projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/MAINTAINERS: add Luis Machado as global maintainer
[binutils-gdb.git]
/
gdb
/
jit-reader.in
diff --git
a/gdb/jit-reader.in
b/gdb/jit-reader.in
index ccc68e4927796605edebceccd84f740de19d2bd9..1d8d8fcbb19468e63e69f2feb5a01701b47f54c3 100644
(file)
--- a/
gdb/jit-reader.in
+++ b/
gdb/jit-reader.in
@@
-1,6
+1,6
@@
/* JIT declarations for GDB, the GNU Debugger.
/* JIT declarations for GDB, the GNU Debugger.
- Copyright (C) 2011-20
12
Free Software Foundation, Inc.
+ Copyright (C) 2011-20
23
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-36,6
+36,7
@@
extern "C" {
#ifdef __cplusplus
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
extern "C" { \
#ifdef __cplusplus
#define GDB_DECLARE_GPL_COMPATIBLE_READER \
extern "C" { \
+ extern int plugin_is_GPL_compatible (void); \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \
@@
-44,7
+45,8
@@
extern "C" {
#else
#else
-#define GDB_DECLARE_GPL_COMPATIBLE_READER
+#define GDB_DECLARE_GPL_COMPATIBLE_READER \
+ extern int plugin_is_GPL_compatible (void); \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \
extern int plugin_is_GPL_compatible (void) \
{ \
return 0; \