mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 09:49:43 +08:00
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-09-29 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.
|
||||||
|
|
||||||
2009-09-29 Ulrich Weigand <uweigand@de.ibm.com>
|
2009-09-29 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
|
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
|
||||||
|
@ -239,7 +239,7 @@ valpy_string (PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
const char *user_encoding = NULL;
|
const char *user_encoding = NULL;
|
||||||
const char *la_encoding = NULL;
|
const char *la_encoding = NULL;
|
||||||
struct type *char_type;
|
struct type *char_type;
|
||||||
static char *keywords[] = { "encoding", "errors", "length" };
|
static char *keywords[] = { "encoding", "errors", "length", NULL };
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args, kw, "|ssi", keywords,
|
if (!PyArg_ParseTupleAndKeywords (args, kw, "|ssi", keywords,
|
||||||
&user_encoding, &errors, &length))
|
&user_encoding, &errors, &length))
|
||||||
|
Reference in New Issue
Block a user