This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/11132] New: Cannot work with gdb


Installed gdb v7.0.1 as per instructions.  Compiled program using -g version of
gfortran.
Then attempted to run using gdb with the following result:
[~/Documents/mom/bnlcode] benkov% gdb aero
GNU gdb (GDB) 7.0.1
Copyright (C) 2009 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 "i386-apple-darwin9.8.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /Users/benkov/Documents/mom/bnlcode/aero...
warning: section __DATA.__common not found in
/Users/benkov/Documents/mom/bnlcode/TRAMP_isofwd.o

warning: section __DATA.__common not found in
/Users/benkov/Documents/mom/bnlcode/TRAMP_isorev.o
(no debugging symbols found)...done.
(gdb) break newTRAMP_init.f:73
No source file named newTRAMP_init.f.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (newTRAMP_init.f:73) pending.
(gdb) run
`fmain.o' has disappeared; keeping its symbols.
Starting program: /Users/benkov/Documents/mom/bnlcode/aero 
Unable to find Mach task port for process-id 27997: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
(gdb) quit
[~/Documents/mom/bnlcode] benkov% 

Cannot understand any of the error messages.

Thank you for your help.

-- 
           Summary: Cannot work with gdb
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: cmb at bnl dot gov
                CC: gdb-prs at sourceware dot org
  GCC host triplet: MacBook Pro running Mac OS X 10.5.8


http://sourceware.org/bugzilla/show_bug.cgi?id=11132

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]