diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-17 21:23:25 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-17 21:23:25 +0000 |
commit | d59b6f6c38a3e9c229dae40bd6c668be47fe8e48 (patch) | |
tree | d3e248c0abb4d8baf265767d9542537bd1b0d373 /gdb/python/py-symtab.c | |
parent | 102040f0d08b06980adf402c17b2f039fee7d23c (diff) | |
download | gdb-d59b6f6c38a3e9c229dae40bd6c668be47fe8e48.zip gdb-d59b6f6c38a3e9c229dae40bd6c668be47fe8e48.tar.gz gdb-d59b6f6c38a3e9c229dae40bd6c668be47fe8e48.tar.bz2 |
2010-05-17 Michael Snyder <msnyder@vmware.com>
* python/py-auto-load.c: White space.
* python/py-block.c: White space.
* python/py-breakpoint.c: White space.
* python/py-cmd.c: White space.
* python/py-function.c: White space.
* python/py-lazy-string.c: White space.
* python/py-objfile.c: White space.
* python/py-param.c: White space.
* python/py-prettyprint.c: White space.
* python/py-progspace.c: White space.
* python/py-symtab.c: White space.
* python/python.c: White space.
* python/py-type.c: White space.
* python/py-utils.c: White space.
* python/py-value.c: White space.
Diffstat (limited to 'gdb/python/py-symtab.c')
-rw-r--r-- | gdb/python/py-symtab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index 6c805b7..5b4294d 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -322,8 +322,8 @@ symtab_and_line_to_sal_object (struct symtab_and_line sal) { sal_object *sal_obj; int success = 0; - sal_obj = PyObject_New (sal_object, &sal_object_type); + sal_obj = PyObject_New (sal_object, &sal_object_type); if (sal_obj) { success = set_sal (sal_obj, sal); @@ -365,6 +365,7 @@ static void del_objfile_symtab (struct objfile *objfile, void *datum) { symtab_object *obj = datum; + while (obj) { symtab_object *next = obj->next; @@ -385,6 +386,7 @@ static void del_objfile_sal (struct objfile *objfile, void *datum) { sal_object *obj = datum; + while (obj) { sal_object *next = obj->next; |