Unfortunately, builds for the MIPS arch are known to be BROKEN (see [1])!

Edgar (ltrace MIPS maintainer) is cooking up a "real" fix, so this here is a
temporary workaround!
For a "WIP" patch from Edgar see [2] and as usually feedback is welcome.

[1] 
http://lists.alioth.debian.org/pipermail/ltrace-devel/2012-November/000764.html
[2] 
http://lists.alioth.debian.org/pipermail/ltrace-devel/2012-November/000770.html

Signed-off-by: Sedat Dilek <[email protected]>
---
 proc.c |    2 ++
 1 file changed, 2 insertions(+)

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;
        }
 
-- 
1.7.9.5


_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to