Tech Alpha
August 29, 2008, 02:42:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome everyone to TechAlpha! An online community for everything computer related.
Pages: [1]
  Print  
Author Topic: HaikuNews - Retrofitting for kernel debugging  (Read 23 times)
0 Members and 1 Guest are viewing this topic.
Feed Bot
Guest
« on: August 02, 2008, 11:00:05 PM »

Retrofitting for kernel debugging
 


Unlike BeOS, our kernel includes some pieces of C++ code, which sometimes give a headache when it comes making sense of a stack crawl from the kernel debugger, since symbols are mangled when linked into binaries, which means we must Decode__12CrypticCNamesPCc. I recalled seeing some gcc4 private API to demangle symbols into human-friendly names, but the code doing that, from libsupc++, has been written without concern for the inhabitants of the Kernel Debugging Land, using calls to malloc, realloc and free... But I still wanted to get nicer names, so I didn't give up. I also wanted to be able to get assembler dumps since not everyone has a serial cable to make use of the gdb stub.

read more
 

http://www.haiku-os.org/blog/mmu_man/2008-07-26/retrofitting_for_kernel_debugging
 
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
Minerva Theme | The Simple Machines Forum Directory