[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-mdb-discuss
Subject:    [mdb-discuss] ::vatopfn -a can't take a variable reference
From:       Dan Mick <dan.mick () oracle ! com>
Date:       2010-09-08 7:51:11
Message-ID: 4C87406F.8030804 () oracle ! com
[Download RAW message or body]

bitten tonight by trying to do <p::vatopfn -a <a, where 'p' contained the 
address I wanted to map and 'a' contained the 'struct as'.  Apparently the -a 
argument processing can't handle mdb variables (the error message was 
inscrutable..."kmdb: Couldn't read struct as").

This seems to be because it uses mdb_getopts() to get an MDB_OPT_STR, and then 
mdb_strtoull() to convert to an address, and that latter is not prepared to do 
variable substitutions.

Is this something others would consider a bug?
_______________________________________________
mdb-discuss mailing list
mdb-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic