Using crash to set a breakpoint
----- Original Message -----
>
>
>
>
> Is it possible to set a gdb breakpoint when using crash to debug a
> live kernel? I would like to do this in RHEL 6. I’ve tried using
>
> Crash> gdb break 0xffff…. Only to have crash return “crash:
> prohibited gdb command: break. Is there any way to “make” this work?
Definitely not, that's why it's been explicitly prohibited.
The crash utility is just a plain old user-space program.
If you were able to set a kernel breakpoint, who would
field the interrupt? That's what kgdb, the built-in kdb
debugger, kprobes, systemtap, etc. are for.
Dave
> Thanks,
>
> Jeff
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
|