[Crash-utility] Query regarding "set listsize <num>" in crash tool

Munipradeep Beerakam mpradeep at linux.vnet.ibm.com
Thu Jun 3 06:51:50 UTC 2010


Dave,

Thanks for your clarification.

Muni

On Wed, 2010-06-02 at 08:34 -0400, Dave Anderson wrote:
> ----- "Munipradeep Beerakam" <mpradeep at linux.vnet.ibm.com> wrote:
> 
> > Hi,
> > 
> > While I am trying to set the listsize in crash tool version 5.0.4, it is
> > not happening properly, instead it is showing the task with pid of given
> > parameter. Below is the sample output:
> > 
> > 
> > crash> show listsize 
> > Number of source lines gdb will list by default is 10.
> > crash> set listsize 4
> > set: invalid task or pid value: listsize
> >     PID: 4
> > COMMAND: "ksoftirqd/0"
> >    TASK: f7065a90  [THREAD_INFO: f7086000]
> >     CPU: 0
> >   STATE: TASK_INTERRUPTIBLE 
> > 
> > 
> > So, first of all is "set" command in crash tool supports changing the listsize?
> > If yes, is this a bug in crash tool?
> 
> No it's not a bug -- the "set" command defaults to the crash utility's "set" command,
> as is the case when entering any crash command seen when entering "help".  To override
> it, enter "gdb set listsize 4".  See "help gdb".
> 
> Thanks,
>   Dave
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility





More information about the Crash-utility mailing list