fix regression of GDB support
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 1 Jul 2010 02:27:01 +0000 (22:27 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 1 Jul 2010 02:27:01 +0000 (22:27 -0400)
Address of marker was not reported correctly. Fix by Pedro Alves.

include/ust/marker.h

index 72ced98c4e3fb16eedaa17d294566d2622394742..0ed119273c182778cbb8655e5b5dc413c0edd26d 100644 (file)
@@ -129,8 +129,8 @@ struct marker {
                     _ASM_PTR "0\n\t" /* tp_cb */                                               \
                     _ASM_PTR "(1f)\n\t" /* location */                                         \
                     ".previous\n\t"                                                            \
-                    ARCH_COPY_ADDR("%[outptr]")                                                \
                     "1:\n\t"                                                                   \
+                    ARCH_COPY_ADDR("%[outptr]")                                                \
                : [outptr] "=r" (m) );                                                          \
                                                                                                \
                save_registers(&regs)
This page took 0.026231 seconds and 4 git commands to generate.