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-cmd.c | |
parent | c9ae340d17015d64f6959ea63ca80a26af5540be (diff) | |
download | gdb-256458bc0ed6b39c34afefb60d2b1009603fd62a.zip gdb-256458bc0ed6b39c34afefb60d2b1009603fd62a.tar.gz 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-cmd.c')
-rw-r--r-- | gdb/python/py-cmd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/python/py-cmd.c b/gdb/python/py-cmd.c index 56321fa..c0e9d96 100644 --- a/gdb/python/py-cmd.c +++ b/gdb/python/py-cmd.c @@ -308,14 +308,14 @@ cmdpy_completer (struct cmd_list_element *command, /* Helper for cmdpy_init which locates the command list to use and pulls out the command name. - + NAME is the command name list. The final word in the list is the name of the new command. All earlier words must be existing prefix commands. *BASE_LIST is set to the final prefix command's list of *sub-commands. - + START_LIST is the list in which the search starts. This function returns the xmalloc()d name of the new command. On @@ -464,16 +464,16 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kw) return -1; pfx_name = NULL; - if (is_prefix != NULL) + if (is_prefix != NULL) { cmp = PyObject_IsTrue (is_prefix); if (cmp == 1) { int i, out; - + /* Make a normalized form of the command name. */ pfx_name = xmalloc (strlen (name) + 2); - + i = 0; out = 0; while (name[i]) |