← Back to team overview

sslug-teknik team mailing list archive

Re: Dump af memory fra GDB?

 

>>>>> "Mads" == Mads Bondo Dydensborg <madsdyd@xxxxxxxxxxxx> writes:

 Mads> Nogen der kan? Jeg vil være yderst taknemmelig.

Jeg kan ;)

fra info gdb:

Copy between memory and a file
==============================

   The commands `dump', `append', and `restore' are used for copying
data between target memory and a file.  Data is written into a file
using `dump' or `append', and restored from a file into memory by using
`restore'.  Files may be binary, srec, intel hex, or tekhex (but only
binary files can be appended).

`dump binary memory FILENAME START_ADDR END_ADDR'
     Dump contents of memory from START_ADDR to END_ADDR into raw
     binary format file FILENAME.

-- 
Bye, Peter Korsgaard



References