Try to run GDB directly, then use the new gatekeeper exceptions dialog described Here to forcedly allow the last run blocked application
Ok I ran:
open /usr/local/bin/gdb
and gdb opened right up:
Last login: Wed Nov 20 03:32:16 on ttys005
Jim-iMac:~ jimkueneman$ /usr/local/Cellar/gdb/7.6.1/bin/gdb ; exit;
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 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-apple-darwin13.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb)
I run Lazarus and hit the Run button and I get this:
The GDB command:
"-exec-run"
returned the error:
",msg="Unable to find Mach task port for process-id 2406: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(
)""
I am lost...
sysrpl :
I think the home-brew compile and signing did everything that macports would do. gdb is compiled and will run off the command line but not through Lazarus.
BTW I am running the release candidate for 1.2.
Not sure if this is of any help but here is the console logging if I try to compile and run the debugger:
Free Pascal Compiler version 2.6.2 [2013/02/03] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling OLCB_Commander.lpr
OLCB_Commander.lpr(10,62) Hint: Unit "file_utilities" not used in OLCB_Commander
OLCB_Commander.lpr(11,56) Hint: Unit "common_utilities" not used in OLCB_Commander
OLCB_Commander.lpr(12,3) Hint: Unit "olcb_node" not used in OLCB_Commander
OLCB_Commander.lpr(12,14) Hint: Unit "com_port_hub" not used in OLCB_Commander
OLCB_Commander.lpr(12,28) Hint: Unit "form_thread_debug" not used in OLCB_Commander
OLCB_Commander.lpr(12,47) Hint: Unit "form_config_mem_viewer" not used in OLCB_Commander
OLCB_Commander.lpr(13,3) Hint: Unit "common_objects" not used in OLCB_Commander
OLCB_Commander.lpr(13,19) Hint: Unit "form_awesome_throttle" not used in OLCB_Commander
OLCB_Commander.lpr(13,42) Hint: Unit "form_awesome_throttle_deallocate_error" not used in OLCB_Commander
OLCB_Commander.lpr(14,3) Hint: Unit "form_awesome_throttle_duplicate_address" not used in OLCB_Commander
OLCB_Commander.lpr(14,44) Hint: Unit "form_train_config_editor" not used in OLCB_Commander
OLCB_Commander.lpr(15,3) Hint: Unit "unit_cdi_parser" not used in OLCB_Commander
OLCB_Commander.lpr(15,20) Hint: Unit "olcb_defines" not used in OLCB_Commander
OLCB_Commander.lpr(16,25) Hint: Unit "ethernet_hub" not used in OLCB_Commander
Assembling (pipe) /Users/jimkueneman/Documents/openlcb/trunk/scratchpads/jkueneman/OlcbCommander/lib/i386-darwin/OLCB_Commander.s
Compiling resource /Users/jimkueneman/Documents/openlcb/trunk/scratchpads/jkueneman/OlcbCommander/lib/i386-darwin/OLCB_Commander.or
Linking /Users/jimkueneman/Documents/openlcb/trunk/scratchpads/jkueneman/OlcbCommander/Compiled_Binaries/i386-darwin/OlcbCommander
30 lines compiled, 3.8 sec
16 hint(s) issued
[TCompiler.Compile] end
TMainIDE.DoInitProjectRun ProgramFilename=/Users/jimkueneman/Documents/openlcb/trunk/scratchpads/jkueneman/OlcbCommander/Compiled_Binaries/i386-darwin/OlcbCommander
[TCmdLineDebugger] Debug PID: 2517
[TMainIDE.DoRunProject] Debugger=TGDBMIDebugger
[TMainIDE.DoRunProject] END
TGDBMIDebugger.StartDebugging WorkingDir="/Users/jimkueneman/Documents/openlcb/trunk/scratchpads/jkueneman/OlcbCommander/Compiled_Binaries/i386-darwin/"
TCarbonBitBtn.SetFocus Error: SetKeyboardFocus failed with result -30585
Then the Debugger Error dialog pops up.