|
|
|
|
|
|
| Author |
Message |
Stesi_270 *nix forums beginner
Joined: 16 Nov 2005
Posts: 2
|
Posted: Mon May 08, 2006 11:12 am Post subject:
gdb block memory copy
|
|
|
In gdb console can I execute a command to copy a memory block from
address "a" to addres "b" ?
Thank You |
|
| Back to top |
|
 |
Paul Pluzhnikov *nix forums Guru
Joined: 25 Mar 2005
Posts: 512
|
Posted: Mon May 08, 2006 7:03 pm Post subject:
Re: gdb block memory copy
|
|
|
"Esquare" <stefanosi@libero.it> writes:
| Quote: | In gdb console can I execute a command to copy a memory block from
address "a" to addres "b" ?
|
Assuming your program is linked against libc and is not stripped,
(gdb) call memcpy(b, a, <desired-size>)
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Jan 10, 2009 3:57 am | All times are GMT
|
|
Debt Consolidation | Web Advertising | Secured Loans | Credit Card Consolidation | Mortgage
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|