OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48fa8a3
)
* python/python-value.c (valpy_length): Remove #if.
author
tromey
<tromey>
Mon, 22 Dec 2008 19:45:56 +0000
(19:45 +0000)
committer
tromey
<tromey>
Mon, 22 Dec 2008 19:45:56 +0000
(19:45 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/python/python-value.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
8d2980b
..
e917700
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2008-12-22 Tom Tromey <tromey@redhat.com>
+
+ * python/python-value.c (valpy_length): Remove #if.
+
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* python/python-internal.h (PyEval_ReleaseLock): New define.
diff --git
a/gdb/python/python-value.c
b/gdb/python/python-value.c
index
b23174c
..
9db7208
100644
(file)
--- a/
gdb/python/python-value.c
+++ b/
gdb/python/python-value.c
@@
-132,11
+132,7
@@
valpy_dereference (PyObject *self, PyObject *args)
return value_to_value_object (res_val);
}
-#ifdef HAVE_LIBPYTHON2_4
-static int
-#else
static Py_ssize_t
-#endif
valpy_length (PyObject *self)
{
/* We don't support getting the number of elements in a struct / class. */