This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How to fill a range of memory using a value?
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: "Lawrence Lee (Shanghai)" <LawrenceLee at viatech dot com dot cn>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 07 Mar 2003 09:46:33 -0500
- Subject: Re: How to fill a range of memory using a value?
- References: <C373923C3B6ED611874200010250D52E0CAB10@exchsh01.viatech.com.cn>
> Hi,all
>
> I want to fill a range of memory using a value. I read a range of memory by
> artifical array. But how to write a range of memory?
(gdb) print memset (address, value, size)
> Thanks
>
> Best Regards
> Lawrence Lee
> Linux/IA, Software, S3 Tech.
> Tel:(021)53560056-8056
>
>