On 2 Aug 2000 06:17:51 GMT,
Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx> wrote:
>Steve Lord <lord@xxxxxxx> wrote:
>> kdb_symbol_print((unsigned int)trace->ra, NULL,
>> KDB_SP_SPACEB|KDB_SP_PAREN|KDB_SP_NEWLINE);
>ok - basicaly got the idea - what of the above info is mostly needed
>to debug this ? (i at a first view see no way to get the
>kdb_symbol_print thing because it looks like it uses kdb structures
>for finding and printing the symbol) - everything else should be
>no problem ... ok - will try to get this going
Replace
kdb_symbol_print(address, NULL, flags);
with
printk(" 0x%x\n", address);
KDB_SP_SPACEB is space before number, KDB_SP_PAREN is address converted
to symbol enclosed in () which you cannot do, KDB_SP_NEWLINE is newline
after.
|