When trying to show a percpu symbol without debuginfo, crash fails like
this:
crash> p fcoe_percpu:0
p: gdb request failed: p *(<data variable, no debug info>*)
0xffff88011e2d4900
This is because gdb does not really fail if the type is unknown:
crash> gdb whatis fcoe_percpu
type = <data variable, no debug info>
crash> gdb info variables fcoe_percpu
All variables matching regular expression "fcoe_percpu":
Non-debugging symbols:
0x0000000000014900 fcoe_percpu
Of course, the actual contents cannot be shown in this case, but crash
should at least display the address:
crash> p fcoe_percpu:0
&per_cpu(fcoe_percpu, 0) = $1 = (void *) 0xffff88011e214900
Signed-off-by: Petr Tesarik <ptesarik(a)suse.cz>