Fix dbg_step test on Ubuntu 20.04 (#3503)

* Fix dbg_step test on Ubuntu 20.04
* Move r13 to separate line
This commit is contained in:
Khairul Azhar Kasmiran 2023-05-08 10:00:13 +08:00 committed by GitHub
parent 5aa1d70db7
commit 20081eba44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,6 +290,7 @@ CMDS=<<EOF
e dbg.follow=1
e asm.bytes=1
dcu main
dr r13=rip+1 # For Ubuntu 20.04
pd 2
s
ds
@ -298,9 +299,9 @@ EOF
EXPECT=<<EOF
;-- main:
;-- rax:
;-- r13:
;-- rip:
0x00400574 55 push rbp
;-- r13:
0x00400575 ff1425580960. call qword [loc.pnt_0] ; 0x600958 ; "/\x05@"
0x400574
0x400575