projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix redefinition errors in C++ mode
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
py-cmd.c
diff --git
a/gdb/python/py-cmd.c
b/gdb/python/py-cmd.c
index 45af66b908c6d07d9b9cec77cbeae1457b6394d4..a5e96d645ad7dfb25d502fb19359e15469ca2a67 100644
(file)
--- a/
gdb/python/py-cmd.c
+++ b/
gdb/python/py-cmd.c
@@
-1,6
+1,6
@@
/* gdb commands implemented in Python
/* gdb commands implemented in Python
- Copyright (C) 2008-201
4
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
5
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-21,7
+21,6
@@
#include "defs.h"
#include "arch-utils.h"
#include "value.h"
#include "defs.h"
#include "arch-utils.h"
#include "value.h"
-#include "exceptions.h"
#include "python-internal.h"
#include "charset.h"
#include "gdbcmd.h"
#include "python-internal.h"
#include "charset.h"
#include "gdbcmd.h"
@@
-71,7
+70,7
@@
struct cmdpy_object
typedef struct cmdpy_object cmdpy_object;
typedef struct cmdpy_object cmdpy_object;
-
static
PyTypeObject cmdpy_object_type
+
extern
PyTypeObject cmdpy_object_type
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("cmdpy_object");
/* Constants used by this module. */
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("cmdpy_object");
/* Constants used by this module. */
@@
-747,7
+746,7
@@
static PyMethodDef cmdpy_object_methods[] =
{ 0 }
};
{ 0 }
};
-
static
PyTypeObject cmdpy_object_type =
+PyTypeObject cmdpy_object_type =
{
PyVarObject_HEAD_INIT (NULL, 0)
"gdb.Command", /*tp_name*/
{
PyVarObject_HEAD_INIT (NULL, 0)
"gdb.Command", /*tp_name*/
This page took
0.024592 seconds
and
4
git commands to generate.