This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gdb-7.1] 10 days to branching...
>> Kai Tietz <ktietz70@googlemail.com> wrote:
>> This seems to happen on setting of
>> breakpoint on Object-C methods in shared object.
>
>On Sat, Feb 6, 2010 at 8:26 AM, Pedro Alves <pedro@codesourcery.com> wrote:
>
> This one's been described and diagnosed in
> PR10966 <http://sourceware.org/bugzilla/show_bug.cgi?id=10966>
>
> The expr-cumulative work fixes this, but I listed in the PR
> two possible quick workarounds.
>
> Has a small objc testcase been found yet? ?It could
> simply be something forgetting to set the sal's pspace
> around decode_objc, but then I'm confused at how it only
> triggers in some cases, and the objc tests in our
> testsuite pass. ?It could yet be another bug that
> was masked out before the pspace assertion was added,
> like the PR10966 bug.
Sorry I can't really look into this atm, but if Kai is right, the
tests I sent in the below link may reproduce as they set breakpoints
on objc methods in shared libraries, maybe with some coercing to avoid
the ambiguity problems e.g. using a unique method name
I still need to update it to reflect Joel's comments later in the thread though
will get back to this when I can budget in some new hardware.
http://sourceware.org/ml/gdb-patches/2009-09/msg00746.html