> henry wrote: > > Dears: > > 1. Any tool to dump memory under linux ?
gdb?
> 2. Why cant I link lib for readl() ?
> #include <asm/io.h>
> int main()
> {
> return readl(0x40010000) ;
> }
readl() is a macro defined in asm/io.h
Your program can't find it because it's defined within a #ifdef
__KERNEL__ / #endif construct, and your code isn't part of the kernel.
Matthew
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
