[Crash-utility] Problem with disassembling functions that use BUG()
Dave Anderson
anderson at redhat.com
Mon Mar 6 19:05:38 UTC 2006
>> #define BUG() \
>> __asm__ __volatile__( "ud2\n" \
>> "\t.word %c0\n" \
>> "\t.long %c1\n" \
>> : : "i" (__LINE__), "i" (__FILE__))
>>
> Ideally it should be handled in the gdb code, which is what's screwing it up.
Actually, I can't really blame it on gdb either. How can gdb be expected
to recognize this kind of asm-generated code sequence?
Dave
More information about the Crash-utility
mailing list