Re: Using crash to set a breakpoint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux