Feature request for parsic kernel hackers (2 mini-projects)
parisc,
I have two small kernel hacker projects.
1. Add cr27 printing to HPMC, this would let someone debug multi-threaded problems by examining the thread register. It would be even cooler to make this NPTL aware and dump the TCB and DTV.
2. Add some option that enables the user to print something like /proc/self/maps when a user process dies. This is very usefull for translating a fault address into a quick estimate of which library function crashed.
Fame and glory? My gratitude? :)
Cheers,
Carlos.
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 4 lines
2. Add some option that enables the user to print something like
/proc/self/mapswhen a user process dies. This is very usefull for translating a fault address into a quick estimate of which library function crashed.
gdb?
randolph
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 6 lines · Randolph Chung
Quoted 4 lines
2. Add some option that enables the user to print something like
/proc/self/mapswhen a user process dies. This is very usefull for translating a fault address into a quick estimate of which library function crashed.gdb?
If I can't reproduce the crash in the debugger? In particular the PA8800 crashes are so weird that I can't get the same thing under the debugger.
Also, when a process dies in gdb 6.x it throws away the process information and I can't look at the maps anymore. I have to let it die, remember where it died, start it again and then hope the DSO loading was deterministic (e.g. No weird use of dlopen).
c.
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux