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
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
The output below are the details that reproduce my problem. Note that I am following the instructions generated by
macos-show-caveats.sh
I tried removing gdb and its codesign (using conda and the Keychain Access progam), but the problem just repeated itself.
I tried exiting gdb and re-running it many times and got the same result.
(base) cppad.git>which gdb
/Users/bradbell/miniconda/bin/gdb
(base) cppad.git>xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
(base) ~>macos-codesign-gdb.sh
Generating and installing gdb_codesign certificate
Password:
YES (0)
YES (0)
YES (0)
/Users/bradbell/miniconda/bin/gdb: replacing existing signature
base) cppad.git>gdb test_one.exe
GNU gdb (GDB) 12.1
... snip ...
Reading symbols from test_one.exe...
Reading symbols from /Users/bradbell/repo/cppad.git/test_one.exe.dSYM/Contents/Resources/DWARF/test_one.exe...
(gdb) run
Starting program: /Users/bradbell/repo/cppad.git/test_one.exe
Unable to find Mach task port for process-id 98045: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
MacBook Pro
Chip: Apple M1 Pro
MacOS: Sonoma 14.2.1
(base) cppad.git>uname -a
Darwin bradbell-YJ9MWG707F 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered:
You are on a M1 Mac. GDB does not support this platform. I'm guessing you it (or your whole conda installation) is an x86-64 version and is running in Rosetta ?
Either case, I don't think this use case can work.
You'll have better luck with LLDB for debugging on that platform.
Solution to issue cannot be found in the documentation.
Issue
The output below are the details that reproduce my problem. Note that I am following the instructions generated by
I tried removing gdb and its codesign (using conda and the Keychain Access progam), but the problem just repeated itself.
I tried exiting gdb and re-running it many times and got the same result.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: