From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22113 invoked by alias); 1 Oct 2009 03:34:33 -0000 Received: (qmail 22104 invoked by uid 22791); 1 Oct 2009 03:34:32 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Oct 2009 03:34:28 +0000 Received: from wpaz37.hot.corp.google.com (wpaz37.hot.corp.google.com [172.24.198.101]) by smtp-out.google.com with ESMTP id n913YPSk021075 for ; Thu, 1 Oct 2009 04:34:25 +0100 Received: from yxe42 (yxe42.prod.google.com [10.190.2.42]) by wpaz37.hot.corp.google.com with ESMTP id n913YM0h012088 for ; Wed, 30 Sep 2009 20:34:23 -0700 Received: by yxe42 with SMTP id 42so3525649yxe.9 for ; Wed, 30 Sep 2009 20:34:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.87.7 with SMTP id p7mr536870anl.59.1254368062486; Wed, 30 Sep 2009 20:34:22 -0700 (PDT) In-Reply-To: References: Date: Thu, 01 Oct 2009 03:34:00 -0000 Message-ID: <8ac60eac0909302034s3f67ed8fxc84fa5544740dd21@mail.gmail.com> Subject: Re: FW: gdb seems to be broken on darwin 10.5.8 and later From: Paul Pluzhnikov To: Anirban Sinha Cc: gdb@sourceware.org, Michael Snyder , Jack Howarth , Joel Brobecker Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00001.txt.bz2 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 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: ... 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 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: . (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 , 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 , 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 , 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