Skip to content

Commit

Permalink
s390/docs: Remove section about script debugging from Debugging390.txt
Browse files Browse the repository at this point in the history
The section about debugging scripting languages has nothing to do with
s390 (and the example is even apparently taken from a i586 host instead),
so let's remove this chapter from the file.

Signed-off-by: Thomas Huth <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
huth authored and Martin Schwidefsky committed Jan 15, 2015
1 parent bae2a3c commit fcb6bc9
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions Documentation/s390/Debugging390.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Examining core dumps
ldd
Debugging modules
The proc file system
Starting points for debugging scripting languages etc.
SysRq
References
Special Thanks
Expand Down Expand Up @@ -2096,34 +2095,6 @@ of the device.
See the manpage chandev.8 &type cat /proc/chandev for more info.



Starting points for debugging scripting languages etc.
======================================================

bash/sh

bash -x <scriptname>
e.g. bash -x /usr/bin/bashbug
displays the following lines as it executes them.
+ MACHINE=i586
+ OS=linux-gnu
+ CC=gcc
+ CFLAGS= -DPROGRAM='bash' -DHOSTTYPE='i586' -DOSTYPE='linux-gnu' -DMACHTYPE='i586-pc-linux-gnu' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./lib -O2 -pipe
+ RELEASE=2.01
+ PATCHLEVEL=1
+ RELSTATUS=release
+ MACHTYPE=i586-pc-linux-gnu

perl -d <scriptname> runs the perlscript in a fully interactive debugger
<like gdb>.
Type 'h' in the debugger for help.

for debugging java type
jdb <filename> another fully interactive gdb style debugger.
& type ? in the debugger for help.



SysRq
=====
This is now supported by linux for s/390 & z/Architecture.
Expand Down

0 comments on commit fcb6bc9

Please sign in to comment.