diff options
author | Doug Evans <xdje42@gmail.com> | 2013-11-29 12:00:47 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2013-11-29 12:00:47 -0800 |
commit | 256458bc0ed6b39c34afefb60d2b1009603fd62a (patch) | |
tree | de6071fd88ee670a6228a55bca2d954e0aa62694 /gdb/python/py-inferior.c | |
parent | c9ae340d17015d64f6959ea63ca80a26af5540be (diff) | |
download | fsf-binutils-gdb-256458bc0ed6b39c34afefb60d2b1009603fd62a.zip fsf-binutils-gdb-256458bc0ed6b39c34afefb60d2b1009603fd62a.tar.gz fsf-binutils-gdb-256458bc0ed6b39c34afefb60d2b1009603fd62a.tar.bz2 |
Remove trailing whitespace.
Whitespace cleanup.
* python/py-breakpoint.c: Remove trailing whitespace.
* python/py-cmd.c: Ditto.
* python/py-evts.c: Ditto.
* python/py-finishbreakpoint.c: Ditto.
* python/py-frame.c: Ditto.
* python/py-function.c: Ditto.
* python/py-inferior.c: Ditto.
* python/py-infthread.c: Ditto.
* python/py-param.c: Ditto.
* python/py-prettyprint.c: Ditto.
* python/py-symbol.c: Ditto.
* python/py-type.c: Ditto.
* python/py-utils.c: Ditto.
* python/py-value.c: Ditto.
* python/python-internal.h: Ditto.
* python/python.c: Ditto.
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index ed49290..1a1b774 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -274,7 +274,7 @@ delete_thread_object (struct thread_info *tp, int ignore) struct cleanup *cleanup; inferior_object *inf_obj; struct threadlist_entry **entry, *tmp; - + if (!gdb_python_initialized) return; @@ -559,9 +559,9 @@ get_buffer (PyObject *self, Py_buffer *buf, int flags) { membuf_object *membuf_obj = (membuf_object *) self; int ret; - + ret = PyBuffer_FillInfo (buf, self, membuf_obj->buffer, - membuf_obj->length, 0, + membuf_obj->length, 0, PyBUF_CONTIG); buf->format = "c"; @@ -647,7 +647,7 @@ infpy_search_memory (PyObject *self, PyObject *args, PyObject *kw) pattern_size = pybuf.len; #else PyObject *pattern; - + if (! PyArg_ParseTupleAndKeywords (args, kw, "OOO", keywords, &start_addr_obj, &length_obj, &pattern)) @@ -667,7 +667,7 @@ infpy_search_memory (PyObject *self, PyObject *args, PyObject *kw) if (get_addr_from_python (start_addr_obj, &start_addr) < 0) goto fail; - + if (get_addr_from_python (length_obj, &length) < 0) goto fail; |