[Ltrace-devel] [PATCH for-0.7.0 v2] mips: Workaround for breakage in breakpoint_for_symbol()

Petr Machata pmachata at redhat.com
Mon Nov 12 14:04:40 UTC 2012


Sedat Dilek <sedat.dilek at gmail.com> writes:

> On Mon, Nov 12, 2012 at 12:47 PM, Petr Machata <pmachata at redhat.com> wrote:
>> Sedat Dilek <sedat.dilek at gmail.com> writes:
>>> diff --git a/proc.c b/proc.c
>>> index e17b9ed..43ccbfd 100644
>>> --- a/proc.c
>>> +++ b/proc.c
>>> @@ -752,8 +752,10 @@ breakpoint_for_symbol(struct library_symbol *libsym, struct Process *proc)
>>>       struct breakpoint *bp = dict_find_entry(proc->breakpoints,
>>>                                               bp_addr);
>>>       if (bp != NULL) {
>>> +#ifndef __mips__
>>>               assert(bp->libsym == NULL);
>>>               bp->libsym = libsym;
>>> +#endif
>>>               return 0;
>>>       }
>>
>> I commited something else with the same effect.
>>
>
> Thanks... seems you have not pushed it into the GIT repo?

I intended to, but got stuck looking through the _r_debug VDSO l_name
issue.  It's in now.

PM



More information about the Ltrace-devel mailing list