tools/gdb: need to switch back to inferior 1
After check version using inferior 2, need to switch back for normal operation Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
This commit is contained in:
parent
5f34b44fca
commit
94a2ce3641
1 changed files with 1 additions and 0 deletions
|
|
@ -663,4 +663,5 @@ def check_version():
|
|||
else:
|
||||
gdb.write(f"Build version: {mem_version}\n")
|
||||
|
||||
gdb.execute("inferior 1", to_string=True)
|
||||
suppress_cli_notifications(state)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue