|
From: Michael H. <HO...@de...> - 2004-12-14 11:54:24
|
Hi,
It looks like that lcrash of lkcdutils-6.0 is not able to print the size of
typedef datatypes. E.g. "whatis pg_data_t" works, but "sizeof pg_data_t"
fails. lcrash of lkcdutils-4.2 is able to handle typedefs so this looks
like a bug which has been introduced with the dwarf support in
lkcdutils-6.0.
The sizeof command fails for both stabs and dwarf Kerntypes:
>> whatis pg_data_t
struct pglist_data
struct pglist_data {
struct zone node_zones[3];
...
};
>> sizeof pglist_data
Size of "pglist_data": 55552 bytes
>> sizeof pg_data_t
pg_data_t: structure/field not found.
>> sizeof cpumask_t
cpumask_t: structure/field not found.
Best Regards
Michael
------------------------------------------------------------------------
Linux for E-Server Development
Phone: +49-7031-16-2360, Bld 71032-03-U09
Email: ho...@de...
|