mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-21 05:04:12 +08:00
python/python-internal.h: enum ‘ext_lang_rc’ not defined
Fixes this in C++ mode: src/gdb/python/python-internal.h: At global scope: src/gdb/python/python-internal.h:313:13: error: use of enum ‘ext_lang_rc’ without previous declaration extern enum ext_lang_rc gdbpy_apply_val_pretty_printer ^ src/gdb/python/python-internal.h:320:41: error: invalid type in declaration before ‘;’ token const struct language_defn *language); ^ gdb/ChangeLog: 2015-02-27 Pedro Alves <palves@redhat.com> * python/python-internal.h: Include "extension-priv.h".
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2015-02-27 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* python/python-internal.h: Include "extension-priv.h".
|
||||||
|
|
||||||
2015-02-27 Pedro Alves <palves@redhat.com>
|
2015-02-27 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* breakpoint.h (enum print_stop_action): Move further up in the
|
* breakpoint.h (enum print_stop_action): Move further up in the
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#define GDB_PYTHON_INTERNAL_H
|
#define GDB_PYTHON_INTERNAL_H
|
||||||
|
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
|
#include "extension-priv.h"
|
||||||
|
|
||||||
/* These WITH_* macros are defined by the CPython API checker that
|
/* These WITH_* macros are defined by the CPython API checker that
|
||||||
comes with the Python plugin for GCC. See:
|
comes with the Python plugin for GCC. See:
|
||||||
|
Reference in New Issue
Block a user