-1

I know there is a gdb command that will show you which line in the .s file caused the seg fault, but I can't remember what it is and haven't been able to find it. Thanks.

PJTD
  • 49
  • 4

1 Answers1

1

I know there is a gdb command that will show you which line in the .s file caused the seg fault

There is not. There is a command to show you disassembly:

(gdb) X/4i $pc
(gdb) disas $pc
Employed Russian
  • 199,314
  • 34
  • 295
  • 362