aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r--gdb/python/py-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c
index a8ce598..12cedc3 100644
--- a/gdb/python/py-frame.c
+++ b/gdb/python/py-frame.c
@@ -124,7 +124,7 @@ static PyObject *
frapy_name (PyObject *self, PyObject *args)
{
struct frame_info *frame;
- char *name;
+ const char *name;
enum language lang;
PyObject *result;
volatile struct gdb_exception except;