Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here's how todo this with no symbols.</p> <pre><code>gdb ls This GDB was configured as "ppc64-yellowdog-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) break __libc_start_main Breakpoint 1 at 0x10013cb0 (gdb) r Starting program: /bin/ls (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Breakpoint 1 at 0xfdfed3c (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 4160418656 (LWP 10650)] (no debugging symbols found) (no debugging symbols found) [Switching to Thread 4160418656 (LWP 10650)] Breakpoint 1, 0x0fdfed3c in __libc_start_main () from /lib/libc.so.6 (gdb) info frame Stack level 0, frame at 0xffd719a0: pc = 0xfdfed3c in __libc_start_main; saved pc 0x0 called by frame at 0x0 Arglist at 0xffd71970, args: Locals at 0xffd71970, Previous frame's sp is 0xffd719a0 Saved registers: r24 at 0xffd71980, r25 at 0xffd71984, r26 at 0xffd71988, r27 at 0xffd7198c, r28 at 0xffd71990, r29 at 0xffd71994, r30 at 0xffd71998, r31 at 0xffd7199c, pc at 0xffd719a4, lr at 0xffd719a4 (gdb) frame 0 #0 0x0fdfed3c in __libc_start_main () from /lib/libc.so.6 (gdb) info fr Stack level 0, frame at 0xffd719a0: pc = 0xfdfed3c in __libc_start_main; saved pc 0x0 called by frame at 0x0 Arglist at 0xffd71970, args: Locals at 0xffd71970, Previous frame's sp is 0xffd719a0 Saved registers: r24 at 0xffd71980, r25 at 0xffd71984, r26 at 0xffd71988, r27 at 0xffd7198c, r28 at 0xffd71990, r29 at 0xffd71994, r30 at 0xffd71998, r31 at 0xffd7199c, pc at 0xffd719a4, lr at 0xffd719a4 </code></pre> <p>Formatting kinda messed up there, note the use of "info frame" to inspect frames, and "frame #" to navigate your context to another context (up and down the stack)</p> <p>bt also show's an abbreviated stack to help out.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload