This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch,7.3] Fix JIT clang-lli gdb-7.3 regression Re: [gdb-7.3] Error in gdb-llvm integration: Unable to read JIT descriptor from remote memory!
- From: Tom Tromey <tromey at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Yuri <yuri at rawbw dot com>
- Date: Tue, 05 Jul 2011 10:57:31 -0600
- Subject: Re: [patch,7.3] Fix JIT clang-lli gdb-7.3 regression Re: [gdb-7.3] Error in gdb-llvm integration: Unable to read JIT descriptor from remote memory!
- References: <4E0FAB8D.2070709@rawbw.com> <20110704214654.GA21844@host1.jankratochvil.net> <CALoOobONamQh-6NJDuq+2KzFuKffwKE4RsQROy5RN=cZGE5sJA@mail.gmail.com>
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
>> I have mostly reverted that part of the Paul's patch
Paul> FWIW, I don't believe reverting the patch is the right fix. Certainly
Paul> using a single global to guard against recursive invocation can not
Paul> possibly work correctly in multi-inferior GDB.
I think it is ok in this particular instance, because the global is used
to guard just the call to symbol_file_add_from_bfd.
I don't have an opinion about the other parts of the discussion.
Tom