Dump memory with GDB by register

133 Views Asked by At

In $a1 register I have the address that I want to dump and in $a2 register I have the size I want to dump

I have tried to write in GDB

x/$a2 $a1

But I got

 A syntax error in expression,  near $a1

What can I do please?

0

There are 0 best solutions below