hello, I downloaded gdb from link above here
then I ran
sudo cp /Users/jiricvrk/Downloads/gdb/gdb /usr/local/bin
Lazarus updates debug path automatically to /usr/local/bin/gdb
and after cmd+r
csrutil enable --without debug .. I am afraid, that nothing happened
Returned requesting unsupported configuration
I decided to try
csruti disable
But now I get:
Python Exception No module named gdb: /usr/local/bin/gdb:warning
Could not load the Python gdb module from
/usr/local/Cellar/gdb/7.2_1/share/gdb/python
..
suggest passing --data-directory=/path/to/gdb/data-directory
…The GDB command:
"-exec-run"
returned the error:
",msg="Unable to find Mach task port for process-id 474: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(
)""
I used code sign, but get ..already signed...
Jiris-Mac:~ jiricvrk$ sudo codesign -s gdb-cert /usr/local/bin/gdb
Password:
/usr/local/bin/gdb: is already signed
Jiris-Mac:~ jiricvrk$Jiris-Mac:~ jiricvrk$ sudo codesign -v /usr/local/bin/gdb
NOTHING RETURNED
I tried
/usr/local/bin/gdb --data-directory /usr/local/bin
without success. Any ideas, please?