diff options
Diffstat (limited to 'Documentation/s390/Debugging390.txt')
-rw-r--r-- | Documentation/s390/Debugging390.txt | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Documentation/s390/Debugging390.txt b/Documentation/s390/Debugging390.txt index efe998becc5b..462321c1aeea 100644 --- a/Documentation/s390/Debugging390.txt +++ b/Documentation/s390/Debugging390.txt | |||
@@ -41,7 +41,6 @@ ldd | |||
41 | Debugging modules | 41 | Debugging modules |
42 | The proc file system | 42 | The proc file system |
43 | Starting points for debugging scripting languages etc. | 43 | Starting points for debugging scripting languages etc. |
44 | Dumptool & Lcrash | ||
45 | SysRq | 44 | SysRq |
46 | References | 45 | References |
47 | Special Thanks | 46 | Special Thanks |
@@ -2455,39 +2454,6 @@ jdb <filename> another fully interactive gdb style debugger. | |||
2455 | 2454 | ||
2456 | 2455 | ||
2457 | 2456 | ||
2458 | Dumptool & Lcrash ( lkcd ) | ||
2459 | ========================== | ||
2460 | Michael Holzheu & others here at IBM have a fairly mature port of | ||
2461 | SGI's lcrash tool which allows one to look at kernel structures in a | ||
2462 | running kernel. | ||
2463 | |||
2464 | It also complements a tool called dumptool which dumps all the kernel's | ||
2465 | memory pages & registers to either a tape or a disk. | ||
2466 | This can be used by tech support or an ambitious end user do | ||
2467 | post mortem debugging of a machine like gdb core dumps. | ||
2468 | |||
2469 | Going into how to use this tool in detail will be explained | ||
2470 | in other documentation supplied by IBM with the patches & the | ||
2471 | lcrash homepage http://oss.sgi.com/projects/lkcd/ & the lcrash manpage. | ||
2472 | |||
2473 | How they work | ||
2474 | ------------- | ||
2475 | Lcrash is a perfectly normal program,however, it requires 2 | ||
2476 | additional files, Kerntypes which is built using a patch to the | ||
2477 | linux kernel sources in the linux root directory & the System.map. | ||
2478 | |||
2479 | Kerntypes is an objectfile whose sole purpose in life | ||
2480 | is to provide stabs debug info to lcrash, to do this | ||
2481 | Kerntypes is built from kerntypes.c which just includes the most commonly | ||
2482 | referenced header files used when debugging, lcrash can then read the | ||
2483 | .stabs section of this file. | ||
2484 | |||
2485 | Debugging a live system it uses /dev/mem | ||
2486 | alternatively for post mortem debugging it uses the data | ||
2487 | collected by dumptool. | ||
2488 | |||
2489 | |||
2490 | |||
2491 | SysRq | 2457 | SysRq |
2492 | ===== | 2458 | ===== |
2493 | This is now supported by linux for s/390 & z/Architecture. | 2459 | This is now supported by linux for s/390 & z/Architecture. |