* RFA: minor python fix
@ 2008-12-22 16:15 Tom Tromey
2008-12-22 16:22 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2008-12-22 16:15 UTC (permalink / raw)
To: gdb-patches
Paul did a build of the python branch against a thread-less python and
needed this patch.
I'd like to apply it to the trunk, because the other thread-safety
patches are already there.
Please review.
Tom
2008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>
* python/python-internal.h (PyEval_ReleaseLock): New define.
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index e35d9cb..7e56784 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -55,6 +55,7 @@ typedef int Py_ssize_t;
#define PyEval_InitThreads() 0
#define PyThreadState_Swap(ARG) (ARG)
#define PyEval_InitThreads() 0
+#define PyEval_ReleaseLock() 0
#endif
#include "command.h"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: minor python fix
2008-12-22 16:15 RFA: minor python fix Tom Tromey
@ 2008-12-22 16:22 ` Daniel Jacobowitz
2008-12-22 16:26 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-12-22 16:22 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
On Mon, Dec 22, 2008 at 09:14:38AM -0700, Tom Tromey wrote:
> Paul did a build of the python branch against a thread-less python and
> needed this patch.
>
> I'd like to apply it to the trunk, because the other thread-safety
> patches are already there.
>
> Please review.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: minor python fix
2008-12-22 16:22 ` Daniel Jacobowitz
@ 2008-12-22 16:26 ` Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2008-12-22 16:26 UTC (permalink / raw)
To: gdb-patches
>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>> I'd like to apply it to the trunk, because the other thread-safety
>> patches are already there.
Daniel> OK, thanks.
Thanks, I checked it in.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-22 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-22 16:15 RFA: minor python fix Tom Tromey
2008-12-22 16:22 ` Daniel Jacobowitz
2008-12-22 16:26 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox