From: Jack Howarth <howarth@bromo.med.uc.edu>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: Anirban Sinha <ASinha@zeugmasystems.com>,
gdb@sourceware.org, Michael Snyder <msnyder@vmware.com>,
Joel Brobecker <brobecker@adacore.com>
Subject: Re: FW: gdb seems to be broken on darwin 10.5.8 and later
Date: Fri, 02 Oct 2009 01:55:00 -0000 [thread overview]
Message-ID: <20091002015530.GB29817@bromo.med.uc.edu> (raw)
In-Reply-To: <8ac60eac0909302034s3f67ed8fxc84fa5544740dd21@mail.gmail.com>
On Wed, Sep 30, 2009 at 08:34:21PM -0700, Paul Pluzhnikov wrote:
> FWIW, I have just built GDB from CVS Head on
>
> System Version: Mac OS X 10.5.8 (9L31a)
> 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
> root:xnu-1228.15.4~1/RELEASE_I386 i386
>
> and GDB appears to work just fine (when executed as root),
> except for minor annoyances:
>
> # ../gdb ../gdb
> GNU gdb (GDB) 7.0.50.20091001-cvs
> 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 "--host=i386-apple-darwin9.7.0
> --target=i386-apple-darwin9.8.0".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /Users/ppluzhnikov/gdb-cvs/build/gdb/gdb...
> warning: section __DATA.__common not found in main.o
>
> warning: section __DATA.__common not found in utils.o
>
> warning: section __DATA.__common not found in exec.o
>
> ... many more of these ...
> warning: section __DATA.__common not found in plural-exp.o
> (no debugging symbols found)...done.
> (gdb) run
> `main.o' has disappeared; keeping its symbols.
> `make-relative-prefix.o' has disappeared; keeping its symbols.
> `utils.o' has disappeared; keeping its symbols.
> ... many more ....
> `stab-syms.o' has disappeared; keeping its symbols.
> `hex.o' has disappeared; keeping its symbols.
> Starting program: /Users/ppluzhnikov/gdb-cvs/build/gdb/gdb
> GNU gdb (GDB) 7.0.50.20091001-cvs
> 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 "--host=i386-apple-darwin9.7.0
> --target=i386-apple-darwin9.8.0".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> (gdb)
> Program received signal SIGINT, Interrupt.
> 0x91cdc6fa in select$DARWIN_EXTSN () from /usr/lib/libSystem.B.dylib
> (gdb) bt
> #0 0x91cdc6fa in select$DARWIN_EXTSN () from /usr/lib/libSystem.B.dylib
> #1 0x0006765a in gdb_select (n=1, readfds=0x354ecc,
> writefds=0x354f4c, exceptfds=0x354fcc, timeout=0x0) at
> ../../src/gdb/posix-hdep.c:52
> #2 0x00101d98 in gdb_wait_for_event (block=1) at ../../src/gdb/event-loop.c:877
> #3 0x001011ac in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:455
> #4 0x000f99b3 in catch_errors (func=0x1010e3 <gdb_do_one_event>,
> func_args=0x0, errstring=0x29f7d0 "", mask=6) at
> ../../src/gdb/exceptions.c:510
> #5 0x000542bf in tui_command_loop (data=0x0) at
> ../../src/gdb/tui/tui-interp.c:153
> #6 0x000fa3b8 in current_interp_command_loop () at ../../src/gdb/interps.c:291
> #7 0x000fad93 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:226
> #8 0x000f99b3 in catch_errors (func=0xfad81 <captured_command_loop>,
> func_args=0x0, errstring=0x29f7d0 "", mask=6) at
> ../../src/gdb/exceptions.c:510
> #9 0x000fc271 in captured_main (data=0xbffffcb0) at ../../src/gdb/main.c:902
> #10 0x000f99b3 in catch_errors (func=0xfadd6 <captured_main>,
> func_args=0xbffffcb0, errstring=0x29f7d0 "", mask=6) at
> ../../src/gdb/exceptions.c:510
> #11 0x000fc318 in gdb_main (args=0xbffffcb0) at ../../src/gdb/main.c:911
> #12 0x00001cc4 in main (argc=1, argv=0xbffffce8) at ../../src/gdb/gdb.c:33
> (gdb) quit
>
>
> --
> Paul Pluzhnikov
Paul,
Actually current gdb cvs with the macho changes is now behaving fine as long
as I run as root. Is there any chance that we can get the macho changes into
gdb cvs since the remaining issues with permissions seem to be completely
orthogonal to those changes.
Jack
next prev parent reply other threads:[~2009-10-02 1:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 20:37 Anirban Sinha
2009-10-01 3:34 ` Paul Pluzhnikov
2009-10-02 1:55 ` Jack Howarth [this message]
2009-10-02 2:13 ` Paul Pluzhnikov
2009-10-02 15:37 ` Joel Brobecker
2009-10-02 16:03 ` Tom Tromey
2009-10-02 16:21 ` Jack Howarth
2009-10-05 2:57 ` Joel Brobecker
2009-10-05 13:03 ` Jack Howarth
2009-10-05 16:54 ` Joel Brobecker
2009-10-05 22:13 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091002015530.GB29817@bromo.med.uc.edu \
--to=howarth@bromo.med.uc.edu \
--cc=ASinha@zeugmasystems.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=msnyder@vmware.com \
--cc=ppluzhnikov@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox