Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » problem debugging theIde with theIde in Linux [BUG?]
problem debugging theIde with theIde in Linux [BUG?] [message #1822] |
Tue, 21 March 2006 13:30  |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
I am trying to debug multiple crashes in theIde on Linux, by compiling ide in DEBUG mode, and running it in the debugger of theIde itself. It doesn't seem to work. The debugger stops in the __atomic_add function of atomicity.h. I did not put any breakpoint to this method, and stack trace is emtpty in debugger. If I continue running the debugger with F5 it stops in this function again in very short time.
#ifndef _BITS_ATOMICITY_H
#define _BITS_ATOMICITY_H 1
typedef int _Atomic_word;
static inline _Atomic_word
__attribute__ ((__unused__))
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
{
register _Atomic_word __result;
__asm__ __volatile__ ("lock; xaddl %0,%2"
: "=r" (__result)
: "0" (__val), "m" (*__mem)
: "memory");
return __result;
}
static inline void
__attribute__ ((__unused__))
__atomic_add (volatile _Atomic_word* __mem, int __val)
{
__asm__ __volatile__ ("lock; addl %0,%1"
: : "ir" (__val), "m" (*__mem) : "memory");
}
#endif /* atomicity.h */
[Updated on: Tue, 02 May 2006 10:26] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jul 07 19:08:03 CEST 2025
Total time taken to generate the page: 0.03718 seconds
|