We have dump command in GDB which will dump a particular memory to a file. I want a command which will do exactly reverse of dump command i.e, which will read from a file of a particular length and dump it to specified address(memory).
Please help me on this regards, whether the command exists. If the command does not exists then please guide me how exactly i need to go ahead and implement it. As a am new to GDB.
I tried to use restore, but the problem is i need to load a file to a particular memory location some length. And in restore command syntax there is no such thing