package: ltrace
version: 0.3.36-2
tags: patch
Severity: wishlist

The patches to add 64-bit PowerPC found in bug #315889 has a bug.  This patch 
fixes it.

cvs diff: Diffing .
Index: breakpoints.c
===================================================================
RCS file: /home/pgilliam/work/ltrace-work/CVSROOT/ltrace/breakpoints.c,v
retrieving revision 1.5
diff -a -u -r1.5 breakpoints.c
--- breakpoints.c       26 Jun 2005 18:18:52 -0000      1.5
+++ breakpoints.c       12 Jul 2005 18:20:00 -0000
@@ -48,7 +48,7 @@
                sbp->addr = addr;
                 sbp->libsym = libsym;
                 if (libsym)
-                       libsym->brkpnt = addr;
+                       libsym->brkpnt = sbp;
        }
        sbp->enabled++;
        if (sbp->enabled==1 && proc->pid) enable_breakpoint(proc->pid, sbp);
~


-------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to