This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [python] [patch] PR 13369/13374
- From: Tom Tromey <tromey at redhat dot com>
- To: pmuldoon at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Nov 2011 13:08:48 -0700
- Subject: Re: [python] [patch] PR 13369/13374
- References: <m3ipmdem7n.fsf@redhat.com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> @@ -157,15 +157,9 @@ inferior_to_inferior_object (struct inferior *inferior)
Phil> inf_obj = inferior_data (inferior, infpy_inf_data_key);
Phil> if (!inf_obj)
Phil> {
Phil> - struct cleanup *cleanup;
Phil> - cleanup = ensure_python_env (python_gdbarch, python_language);
Phil> -
Phil> inf_obj = PyObject_New (inferior_object, &inferior_object_type);
Phil> if (!inf_obj)
Phil> - {
Phil> - do_cleanups (cleanup);
Phil> return NULL;
Phil> - }
This doesn't handle the call chain
delete_thread_object -> find_inferior_object -> inferior_to_inferior_object
Tom