[Crash-utility] Using crash to set a breakpoint
Dave Anderson
anderson at redhat.com
Fri Feb 24 19:01:47 UTC 2012
----- 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
More information about the Crash-utility
mailing list