aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/s390
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/s390')
-rw-r--r--Documentation/s390/Debugging390.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/s390/Debugging390.txt b/Documentation/s390/Debugging390.txt
index 0bb4512e8a65..a6555dbfa081 100644
--- a/Documentation/s390/Debugging390.txt
+++ b/Documentation/s390/Debugging390.txt
@@ -163,7 +163,7 @@ s/390 z/Architecture
163 1 1 64 bit 163 1 1 64 bit
164 164
16532 1=31 bit addressing mode 0=24 bit addressing mode (for backward 16532 1=31 bit addressing mode 0=24 bit addressing mode (for backward
166 compatibility ), linux always runs with this bit set to 1 166 compatibility), linux always runs with this bit set to 1
167 167
16833-64 Instruction address. 16833-64 Instruction address.
169 33-63 Reserved must be 0 169 33-63 Reserved must be 0
@@ -239,7 +239,7 @@ they go to 64 Bit.
239 239
240On 390 our limitations & strengths make us slightly different. 240On 390 our limitations & strengths make us slightly different.
241For backward compatibility we are only allowed use 31 bits (2GB) 241For backward compatibility we are only allowed use 31 bits (2GB)
242of our 32 bit addresses,however, we use entirely separate address 242of our 32 bit addresses, however, we use entirely separate address
243spaces for the user & kernel. 243spaces for the user & kernel.
244 244
245This means we can support 2GB of non Extended RAM on s/390, & more 245This means we can support 2GB of non Extended RAM on s/390, & more
@@ -1311,7 +1311,7 @@ for finding out when a particular variable changes.
1311 1311
1312An alternative way of finding the STD of a currently running process 1312An alternative way of finding the STD of a currently running process
1313is to do the following, ( this method is more complex but 1313is to do the following, ( this method is more complex but
1314could be quite convient if you aren't updating the kernel much & 1314could be quite convenient if you aren't updating the kernel much &
1315so your kernel structures will stay constant for a reasonable period of 1315so your kernel structures will stay constant for a reasonable period of
1316time ). 1316time ).
1317 1317
@@ -2045,13 +2045,13 @@ what gdb does when the victim receives certain signals.
2045list: 2045list:
2046e.g. 2046e.g.
2047list lists current function source 2047list lists current function source
2048list 1,10 list first 10 lines of curret file. 2048list 1,10 list first 10 lines of current file.
2049list test.c:1,10 2049list test.c:1,10
2050 2050
2051 2051
2052directory: 2052directory:
2053Adds directories to be searched for source if gdb cannot find the source. 2053Adds directories to be searched for source if gdb cannot find the source.
2054(note it is a bit sensititive about slashes ) 2054(note it is a bit sensititive about slashes)
2055e.g. To add the root of the filesystem to the searchpath do 2055e.g. To add the root of the filesystem to the searchpath do
2056directory // 2056directory //
2057 2057
@@ -2123,9 +2123,9 @@ p/x (*(**$sp+56))&0x7fffffff
2123 2123
2124Disassembling instructions without debug info 2124Disassembling instructions without debug info
2125--------------------------------------------- 2125---------------------------------------------
2126gdb typically compains if there is a lack of debugging 2126gdb typically complains if there is a lack of debugging
2127symbols in the disassemble command with 2127symbols in the disassemble command with
2128"No function contains specified address." to get around 2128"No function contains specified address." To get around
2129this do 2129this do
2130x/<number lines to disassemble>xi <address> 2130x/<number lines to disassemble>xi <address>
2131e.g. 2131e.g.