[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 11:47:27 UTC 2012


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,
PM



More information about the Ltrace-devel mailing list