framefilter quit: Obvious whitespacing fixes

gdb/ChangeLog
2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* python/py-framefilter.c (py_print_frame): Whitespacing fixes.
This commit is contained in:
Jan Kratochvil 2015-02-11 14:33:48 +01:00
parent 7275e869fe
commit 8d4a54e2fb
2 changed files with 17 additions and 15 deletions

View file

@ -1,3 +1,7 @@
2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* python/py-framefilter.c (py_print_frame): Whitespacing fixes.
2015-02-11 Pedro Alves <palves@redhat.com> 2015-02-11 Pedro Alves <palves@redhat.com>
* xcoffread.c (within_function): Delete. * xcoffread.c (within_function): Delete.

View file

@ -1052,7 +1052,6 @@ py_print_frame (PyObject *filter, int flags,
goto error; goto error;
} }
/* stack-list-variables. */ /* stack-list-variables. */
if (print_locals && print_args && ! print_frame_info) if (print_locals && print_args && ! print_frame_info)
{ {
@ -1175,7 +1174,7 @@ py_print_frame (PyObject *filter, int flags,
if (gdbpy_is_string (py_func)) if (gdbpy_is_string (py_func))
{ {
char *function_to_free = NULL; char *function_to_free;
function = function_to_free = function = function_to_free =
python_string_to_host_string (py_func); python_string_to_host_string (py_func);
@ -1208,7 +1207,6 @@ py_print_frame (PyObject *filter, int flags,
goto error; goto error;
} }
TRY_CATCH (except, RETURN_MASK_ALL) TRY_CATCH (except, RETURN_MASK_ALL)
{ {
annotate_frame_function_name (); annotate_frame_function_name ();
@ -1254,8 +1252,8 @@ py_print_frame (PyObject *filter, int flags,
if (PyObject_HasAttrString (filter, "filename")) if (PyObject_HasAttrString (filter, "filename"))
{ {
PyObject *py_fn = PyObject_CallMethod (filter, "filename", PyObject *py_fn = PyObject_CallMethod (filter, "filename", NULL);
NULL);
if (py_fn != NULL) if (py_fn != NULL)
{ {
if (py_fn != Py_None) if (py_fn != Py_None)