mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 19:01:31 +00:00
Add required A0 register into x86 register profile provided by GDB ##debug
This commit is contained in:
parent
77c19aa18d
commit
7f101ba546
@ -294,6 +294,7 @@ static int gdbr_parse_target_xml(libgdbr_t *g, char *xml_data, ut64 len) {
|
||||
case 32:
|
||||
if (!(profile = r_str_prepend (profile,
|
||||
"=PC eip\n"
|
||||
"=A0 eax\n"
|
||||
"=SP esp\n"
|
||||
"=BP ebp\n"))) {
|
||||
goto exit_err;
|
||||
@ -302,6 +303,7 @@ static int gdbr_parse_target_xml(libgdbr_t *g, char *xml_data, ut64 len) {
|
||||
case 64:
|
||||
if (!(profile = r_str_prepend (profile,
|
||||
"=PC rip\n"
|
||||
"=A0 rax\n"
|
||||
"=SP rsp\n"
|
||||
"=BP rbp\n"))) {
|
||||
goto exit_err;
|
||||
|
Loading…
Reference in New Issue
Block a user