Anton Blanchard wrote:
> Is it possible to run a serial console and do:
>
> ctrace
> .registers
> .locals
Ok, got serial console working.
ctrace:
PC: f0011a68
Last leaf: call f001f058 from f001d140
0 w %o0-%o5: ( f001ef88 fc00043c f01fd400 f01fd400 f400ca04 f0010d64 )
call f001ce80 from f0010d64
1 w %o0-%o5: ( fc000508 0 0 f200e000 f400ca04 f0010d64 )
call f001ef64 from f001f08c
2 w %o0-%o5: ( f0010d64 f400c9fc f001ef88 fc000624 f400ca04 f0010d64 )
call f001f058 from f001d140
3 w %o0-%o5: ( f001ef88 fc000624 f01fd400 f01fd400 f400ca04 f0010d64 )
call f001ce80 from f0010d64
4 w %o0-%o5: ( fc0006f0 0 0 f200e000 f400ca04 f0010d64 )
call f001ef64 from f001f08c
5 w %o0-%o5: ( f0010d64 f400c9fc f001ef88 fc00080c f400ca04 f0010d64 )
call f001f058 from f001d140
6 w %o0-%o5: ( f001ef88 fc00080c f01fd400 f01fd400 f400ca04 f0010d64 )
call f001ce80 from f0010d64
7 w %o0-%o5: ( fc0008d8 0 0 f200e000 f400ca04 f0010d64 )
call f001ef64 from f001f08c
8 w %o0-%o5: ( f0010d64 f400c9fc f001ef88 fc0009f4 f400ca04 f0010d64 )
call f001f058 from f001d140
9 w %o0-%o5: ( f001ef88 fc0009f4 f01fd400 f01fd400 f400ca04 f0010d64 )
call f001ce80 from f0010d64
a w %o0-%o5: ( fc000ac0 0 0 f200e000 f400ca04 f0010d64 )
call f001ef64 from f001f08c
b w %o0-%o5: ( f0010d64 f400c9fc f001ef88 fc000bdc f400ca04 f0010d64 )
call f001f058 from f001d140
c w %o0-%o5: ( f001ef88 fc000bdc f01fd400 f01fd400 f400ca04 f0010d64 )
call f001ce80 from f0010d64
d w %o0-%o5: ( fc000ca8 0 0 f200e000 f400ca04 f0010d64 )
call f001ef64 from f001f08c
e w %o0-%o5: ( f0010d64 f400c9fc f001ef88 fc000dc4 f400ca04 f0010d64 )
.registers
%g0 %g1 %g2 %g3 %g4 %g5 %g6 %g7
0 0 1ffde48 0 f0030904 1 fcbfa000 fffffffd
PC nPC Y PSR WIM TBR
f0011a68 f0011a6c 0 40000fe7 80 f0004090
.locals
0 1 2 3 4 5 6 7
IN: fc000508 0 0 f200e000 f400ca04 f0010d64 fc0004c8 f0010d64
LOC: 0 0 f001ce84 80 0 fcbfa000 fcbfa000 f200e000
OUT: f001ef88 fc00043c f01fd400 f01fd400 f400ca04 f0010d64 fc0003d8 f001d140
>From System.map:
00000000f0011a54 T trap_setup
00000000f0011ab0 t trap_setup_kernel_spill
00000000f001f058 T search_exception_table
00000000f001ce80 T do_sparc_fault
00000000f001d2c8 T do_sun4c_fault
00000000f0010d0c T srmmu_fault
00000000f0010d74 T sys_nis_syscall
For the kernel image and the System.map file, see
www.ife.ee.ethz.ch/~sailer/System.map-2.3.47 and vmlinuz-2.3.47
Tom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:18 EST