FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 02-24-2012, 05:25 PM
 
Default Using crash to set a breakpoint

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?
*
Thanks,
Jeff
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 
Old 02-24-2012, 06:01 PM
Dave Anderson
 
Default 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
 

Thread Tools




All times are GMT. The time now is 06:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org