[MacPorts] #39349: gdb @7.6 add note about codesigning

MacPorts noreply at macports.org
Tue Jul 23 11:25:07 PDT 2013


#39349: gdb @7.6 add note about codesigning
---------------------------+----------------------
  Reporter:  gunnlaugur@…  |      Owner:  dweber@…
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  gdb           |
---------------------------+----------------------

Comment (by sean@…):

 Replying to [comment:7 clint.olsen@…]:
 > I tried this method. My plist file was missing the -p argument. Now I
 have taskgated seemingly running as you've specified:
 >
 > {{{
 > root           35239   0.0  0.0  2433208   1548   ??  Ss   10:50AM
 0:00.01 /usr/libexec/taskgated -sp
 > }}}

 [[BR]]
 Hmm, did you restart the computer? Also, just to make sure, what
 permissions does ggdb have? Mine are:

 {{{
 $ ls -l $(which ggdb)
 -rwxr-sr-x 1 root procmod 5379656 May 20 15:40 /opt/local/bin/ggdb
 }}}

 [[BR]]
 > However things still fail for me:

 [[BR]]
 They work for me (and I have no code signing certificates installed at
 all):

 {{{
 $ ggdb a.out
 GNU gdb (GDB) 7.6
 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-darwin12.3.0".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 No symbol table is loaded.  Use the "file" command.
 Breakpoint 1 (PetscError) pending.
 Reading symbols from /Users/sean/sandbox/a.out...Reading symbols from
 /Users/sean/sandbox/a.out.dSYM/Contents/Resources/DWARF/a.out...done.
 done.
 (gdb) c
 The program is not being run.
 (gdb) r
 Starting program: /Users/sean/sandbox/a.out
 Hello, World!
 [Inferior 1 (process 729) exited normally]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39349#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list