[Crash-utility] mod cmd fixes for -g -r

Dave Anderson anderson at redhat.com
Thu Feb 9 16:33:54 UTC 2012



----- Original Message -----
> 6.0.3 added -g and -r options to the mod command, but they can't be used
> together.   This patch allows "-r -g" or "-rg" or "-Srg" etc.

Ahhh -- I didn't even consider that possibility...  

I pretty much painted myself into a corner long ago when I put
that "mod -S [optional-dir]" and "mod -s module [optional-objfile]"
argument usage mechanism into place, and I've regretted it ever since.

Anyway, thanks for catching and fixing that -- queued for crash-6.0.4.

Dave

> 
> crash-6.0.3> mod -r -g -S
> /usr/lib/debug/lib/modules/3.1.4-clim-3-amd64
> mod: invalid option -- 'g'
> Usage:
>   mod -s module [objfile] | -d module | -S [directory] | -D | -r | -R
>   | -o | -g
> Enter "help mod" for details.
> 
> Still working on the flaky module symbol problem...
> 
> Bob Montgomery
> 
> 




More information about the Crash-utility mailing list