Diff for /wikisrc/users/haad/ddb_howto.mdwn between versions 1.3 and 1.4

version 1.3, 2019/04/08 23:46:36 version 1.4, 2020/05/20 21:12:48
Line 18  First, you need to find the address of t Line 18  First, you need to find the address of t
   
 Then add `0x5` to the address, and use [[!template id=man name="addr2line" section="1"]] to get the exact line in the kernel source code where you get the crash:  Then add `0x5` to the address, and use [[!template id=man name="addr2line" section="1"]] to get the exact line in the kernel source code where you get the crash:
   
     addr2line -g netbsd {sum address}      addr2line -e netbsd {sum address}
   
 In [[!template id=man name="gdb" section="1"]], this can be achieved with the command `info line *(function_name)+0x5`.  In [[!template id=man name="gdb" section="1"]], this can be achieved with the command `info line *(function_name)+0x5`.
   

Removed from v.1.3  
changed lines
  Added in v.1.4


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb