From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62027 invoked by alias); 7 Jul 2015 09:23:11 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 61996 invoked by uid 48); 7 Jul 2015 09:23:10 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/18629] global variable Date: Tue, 07 Jul 2015 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00049.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18629 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #3 from Pedro Alves --- Ideally GDB would be taught about automatically looking for debug info in the separate dSYM files, but I'm not aware of anyone working on that. Apple's gdb fork has built in dSYM support that was never merged upstream. (grep for dSYM in the Apple sources). You could try loading the dSYM files manually, with: (gdb) add-symbol-file /path/to/whatever.dSYM I don't know if that works. Worth a try. This page: http://stackoverflow.com/questions/584825/dsym-directories-while-compiling-c-code-in-macos seems to mention the quirk you stumbled on, and seems to suggest that it's possible to disable separate dSYMs in Xcode, and I assume there are corresponding llvm/gcc switches for that. -- You are receiving this mail because: You are on the CC list for the bug.