1

I was debugging a program in which I hit

int 0x80

I know this means a system call and then the kernel executed it. However, GDB does not allow me to look at the instructions run by the kernel while executing this system call. It just executes the system call and takes me to the next instruction.

Is there anyway I can look into the kernel mode code while debugging a user mode program? If not, then what are the over best alternatives available to me?

ST-User
  • 395
  • 2
  • 3
  • 12

1 Answers1

0

Is there anyway I can look into the kernel mode code while debugging a user mode program?

No.

(Actually, you could do that if you use UML, but that is likely too complicated for you to set up.)

Employed Russian
  • 199,314
  • 34
  • 295
  • 362