public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-jankratochvil-python: Fix crash on archer-jankratochvil-type-refcount x archer-tromey-python.
@ 2009-03-01 23:54 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2009-03-01 23:54 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-python has been updated
via 49f350efd1b7ea38798e77eb8951440160fd7c81 (commit)
from c3b72d37227864dd76c5ce77fb67958403b9c815 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
gdb/python/python-type.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
First 500 lines of diff:
diff --git a/gdb/python/python-type.c b/gdb/python/python-type.c
index c39ff27..772a011 100644
--- a/gdb/python/python-type.c
+++ b/gdb/python/python-type.c
@@ -577,7 +577,7 @@ set_type (type_object *obj, struct type *type)
obj->type = type;
type_incref (type);
obj->prev = NULL;
- if (type && TYPE_OBJFILE (type))
+ if (type && !OBJFILE_IS_VIRTUAL (TYPE_OBJFILE (type)))
{
struct objfile *objfile = TYPE_OBJFILE (type);
@@ -641,7 +641,7 @@ typy_dealloc (PyObject *obj)
if (type->prev)
type->prev->next = type->next;
- else if (type->type && TYPE_OBJFILE (type->type))
+ else if (type->type && !OBJFILE_IS_VIRTUAL (TYPE_OBJFILE (type->type)))
{
/* Must reset head of list. */
struct objfile *objfile = TYPE_OBJFILE (type->type);
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-01 23:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-01 23:54 [SCM] archer-jankratochvil-python: Fix crash on archer-jankratochvil-type-refcount x archer-tromey-python jkratoch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).