diff options
Diffstat (limited to 'Documentation/s390')
-rw-r--r-- | Documentation/s390/Debugging390.txt | 16 |
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 | ||
165 | 32 1=31 bit addressing mode 0=24 bit addressing mode (for backward | 165 | 32 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 | ||
168 | 33-64 Instruction address. | 168 | 33-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 | ||
240 | On 390 our limitations & strengths make us slightly different. | 240 | On 390 our limitations & strengths make us slightly different. |
241 | For backward compatibility we are only allowed use 31 bits (2GB) | 241 | For backward compatibility we are only allowed use 31 bits (2GB) |
242 | of our 32 bit addresses,however, we use entirely separate address | 242 | of our 32 bit addresses, however, we use entirely separate address |
243 | spaces for the user & kernel. | 243 | spaces for the user & kernel. |
244 | 244 | ||
245 | This means we can support 2GB of non Extended RAM on s/390, & more | 245 | This 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 | ||
1312 | An alternative way of finding the STD of a currently running process | 1312 | An alternative way of finding the STD of a currently running process |
1313 | is to do the following, ( this method is more complex but | 1313 | is to do the following, ( this method is more complex but |
1314 | could be quite convient if you aren't updating the kernel much & | 1314 | could be quite convenient if you aren't updating the kernel much & |
1315 | so your kernel structures will stay constant for a reasonable period of | 1315 | so your kernel structures will stay constant for a reasonable period of |
1316 | time ). | 1316 | time ). |
1317 | 1317 | ||
@@ -2045,13 +2045,13 @@ what gdb does when the victim receives certain signals. | |||
2045 | list: | 2045 | list: |
2046 | e.g. | 2046 | e.g. |
2047 | list lists current function source | 2047 | list lists current function source |
2048 | list 1,10 list first 10 lines of curret file. | 2048 | list 1,10 list first 10 lines of current file. |
2049 | list test.c:1,10 | 2049 | list test.c:1,10 |
2050 | 2050 | ||
2051 | 2051 | ||
2052 | directory: | 2052 | directory: |
2053 | Adds directories to be searched for source if gdb cannot find the source. | 2053 | Adds 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) |
2055 | e.g. To add the root of the filesystem to the searchpath do | 2055 | e.g. To add the root of the filesystem to the searchpath do |
2056 | directory // | 2056 | directory // |
2057 | 2057 | ||
@@ -2123,9 +2123,9 @@ p/x (*(**$sp+56))&0x7fffffff | |||
2123 | 2123 | ||
2124 | Disassembling instructions without debug info | 2124 | Disassembling instructions without debug info |
2125 | --------------------------------------------- | 2125 | --------------------------------------------- |
2126 | gdb typically compains if there is a lack of debugging | 2126 | gdb typically complains if there is a lack of debugging |
2127 | symbols in the disassemble command with | 2127 | symbols in the disassemble command with |
2128 | "No function contains specified address." to get around | 2128 | "No function contains specified address." To get around |
2129 | this do | 2129 | this do |
2130 | x/<number lines to disassemble>xi <address> | 2130 | x/<number lines to disassemble>xi <address> |
2131 | e.g. | 2131 | e.g. |