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

Dave Anderson anderson at redhat.com
Wed Jun 2 12:34:41 UTC 2010


----- "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




More information about the Crash-utility mailing list