From: Dave A. <ai...@us...> - 2003-06-10 02:06:31
|
Update of /cvsroot/linux-vax/kernel-2.4/Documentation/s390 In directory sc8-pr-cvs1:/tmp/cvs-serv23180/Documentation/s390 Modified Files: Debugging390.txt Log Message: DA: sync to Marcelo 2.4.18 + remove init_mmap (no longer needed) Index: Debugging390.txt =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/Documentation/s390/Debugging390.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Debugging390.txt 9 Apr 2002 16:55:46 -0000 1.1 +++ Debugging390.txt 10 Jun 2003 01:45:46 -0000 1.2 @@ -237,9 +237,10 @@ On 390 our limitations & strengths make us slightly different. -For backward compatibility we are only allowed use 31 bits (2GB) -of our 32 bit addresses,however, we use entirely separate address -spaces for the user & kernel. +For backward compatibility ( because of the psw address hi bit which +indicates whether we are in 31 or 64 bit mode ) we are only allowed +use 31 bits (2GB) of our 32 bit addresses. However, +we use entirely separate address spaces for the user & kernel. This means we can support 2GB of non Extended RAM on s/390, & more with the Extended memory managment swap device & @@ -2123,6 +2124,12 @@ now do p/x (*(**$sp+56))&0x7fffffff & so on. + +Another good trick to look at addresses on the stack if you've somehow lost +the backchain is. +x/500xa $sp +This displays anything the name of any known functions above the stack pointer +for 500 bytes. Disassembling instructions without debug info --------------------------------------------- |