You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ubuntu86:~/jyy$ gdb ./a.out
GNU gdb (Ubuntu 14.0.50.20230907-0ubuntu1) 14.0.50.20230907-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty"for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration"for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type"help".
Type "apropos word" to search for commands related to "word"...
pwndbg: loaded 156 pwndbg commands and 44 shell commands. Type pwndbg [--shell | --all] [filter] for a list.
pwndbg: created $rebase, $base, $ida GDB functions (can be used with print/break)
Reading symbols from ./a.out...
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.ubuntu.com>
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in ./a.out)
------- tip of the day (disable with set show-tips off) -------
Use vmmap -A|-B <number><filter> to display <number> of maps after/before filtered ones
pwndbg> r
Starting program: /home/a.out
warning: linux_ptrace_test_ret_to_nx: Cannot PTRACE_GETREGS: Input/output error
warning: linux_ptrace_test_ret_to_nx: PC 0x9ffffe970 is neither near return address 0x7ffffffc2000 nor is the return instruction 0x5555559815f1!
Couldn't get CS register: Input/output error.Exception occurred: Error: Couldn't get registers: Input/output error. (<class 'gdb.error'>)
For more info invoke `set exception-verbose on` and rerun the command
or debug it by yourself with `set exception-debugger on`
Exception occurred: Error: Couldn't get registers: Input/output error. (<class 'gdb.error'>)For more info invoke `set exception-verbose on` and rerun the commandor debug it by yourself with `set exception-debugger on`Python Exception <class 'gdb.error'>: Couldn't get registers: Input/output error.
pwndbg>
To Reproduce
No response
Expected behavior
Normal debugging
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
No response
The text was updated successfully, but these errors were encountered:
However, Ubuntu x86 under UTM can be attached to the program normally, and the IO is also normal. Is it possible to study the differences in implementation? This function is really important; I am very excited to experience such high-speed x86 using orbstack on arm mac, but this The defect prevents me from continuing to use orbstack to complete experiments. If it can be solved without losing performance, I am willing to pay as an individual user.
Unfortunately this is not really feasible to support, but you can use the workaround in #113. It's specifically because of the same reasons behind the large difference in performance.
Describe the bug
env: arm CPU run x86 Ubuntu
test code
To Reproduce
No response
Expected behavior
Normal debugging
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
No response
The text was updated successfully, but these errors were encountered: