python/py-infthread.c: Whitespace fixes.
gdb/ChangeLog: * python/py-infthread.c: Whitespace fixes.
This commit is contained in:
parent
e8b338d053
commit
007baf27e4
|
@ -1,3 +1,7 @@
|
||||||
|
2014-12-02 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* python/py-infthread.c: Whitespace fixes.
|
||||||
|
|
||||||
2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* features/Makefile (s390-te-linux64-expedite): Replace
|
* features/Makefile (s390-te-linux64-expedite): Replace
|
||||||
|
|
|
@ -36,8 +36,6 @@ static PyTypeObject thread_object_type
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
thread_object *
|
thread_object *
|
||||||
create_thread_object (struct thread_info *tp)
|
create_thread_object (struct thread_info *tp)
|
||||||
{
|
{
|
||||||
|
@ -53,8 +51,6 @@ create_thread_object (struct thread_info *tp)
|
||||||
return thread_obj;
|
return thread_obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
thpy_dealloc (PyObject *self)
|
thpy_dealloc (PyObject *self)
|
||||||
{
|
{
|
||||||
|
@ -131,6 +127,7 @@ thpy_get_num (PyObject *self, void *closure)
|
||||||
|
|
||||||
/* Getter for InferiorThread.ptid -> (pid, lwp, tid).
|
/* Getter for InferiorThread.ptid -> (pid, lwp, tid).
|
||||||
Returns a tuple with the thread's ptid components. */
|
Returns a tuple with the thread's ptid components. */
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
thpy_get_ptid (PyObject *self, void *closure)
|
thpy_get_ptid (PyObject *self, void *closure)
|
||||||
{
|
{
|
||||||
|
@ -158,6 +155,7 @@ thpy_get_ptid (PyObject *self, void *closure)
|
||||||
|
|
||||||
/* Implementation of InferiorThread.switch ().
|
/* Implementation of InferiorThread.switch ().
|
||||||
Makes this the GDB selected thread. */
|
Makes this the GDB selected thread. */
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
thpy_switch (PyObject *self, PyObject *args)
|
thpy_switch (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
|
@ -177,6 +175,7 @@ thpy_switch (PyObject *self, PyObject *args)
|
||||||
|
|
||||||
/* Implementation of InferiorThread.is_stopped () -> Boolean.
|
/* Implementation of InferiorThread.is_stopped () -> Boolean.
|
||||||
Return whether the thread is stopped. */
|
Return whether the thread is stopped. */
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
thpy_is_stopped (PyObject *self, PyObject *args)
|
thpy_is_stopped (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
|
@ -192,6 +191,7 @@ thpy_is_stopped (PyObject *self, PyObject *args)
|
||||||
|
|
||||||
/* Implementation of InferiorThread.is_running () -> Boolean.
|
/* Implementation of InferiorThread.is_running () -> Boolean.
|
||||||
Return whether the thread is running. */
|
Return whether the thread is running. */
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
thpy_is_running (PyObject *self, PyObject *args)
|
thpy_is_running (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
|
@ -207,6 +207,7 @@ thpy_is_running (PyObject *self, PyObject *args)
|
||||||
|
|
||||||
/* Implementation of InferiorThread.is_exited () -> Boolean.
|
/* Implementation of InferiorThread.is_exited () -> Boolean.
|
||||||
Return whether the thread is exited. */
|
Return whether the thread is exited. */
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
thpy_is_exited (PyObject *self, PyObject *args)
|
thpy_is_exited (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
|
@ -237,6 +238,7 @@ thpy_is_valid (PyObject *self, PyObject *args)
|
||||||
|
|
||||||
/* Implementation of gdb.selected_thread () -> gdb.InferiorThread.
|
/* Implementation of gdb.selected_thread () -> gdb.InferiorThread.
|
||||||
Returns the selected thread object. */
|
Returns the selected thread object. */
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
gdbpy_selected_thread (PyObject *self, PyObject *args)
|
gdbpy_selected_thread (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
|
@ -252,8 +254,6 @@ gdbpy_selected_thread (PyObject *self, PyObject *args)
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
gdbpy_initialize_thread (void)
|
gdbpy_initialize_thread (void)
|
||||||
{
|
{
|
||||||
|
@ -264,8 +264,6 @@ gdbpy_initialize_thread (void)
|
||||||
(PyObject *) &thread_object_type);
|
(PyObject *) &thread_object_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static PyGetSetDef thread_object_getset[] =
|
static PyGetSetDef thread_object_getset[] =
|
||||||
{
|
{
|
||||||
{ "name", thpy_get_name, thpy_set_name,
|
{ "name", thpy_get_name, thpy_set_name,
|
||||||
|
|
Loading…
Reference in New Issue