From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2741 invoked by alias); 5 May 2012 08:56:05 -0000 Received: (qmail 2719 invoked by uid 22791); 5 May 2012 08:56:03 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 May 2012 08:55:51 +0000 From: "reeze.xia at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/14063] New: typedef Symbol not loaded before original type visited Date: Sat, 05 May 2012 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: reeze.xia at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q2/txt/msg00080.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14063 Bug #: 14063 Summary: typedef Symbol not loaded before original type visited Product: gdb Version: 6.3 Status: NEW Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned@sourceware.org ReportedBy: reeze.xia@gmail.com Classification: Unclassified Hi, I know it maybe wrong place for apple version gdb, I write this is ask wheth gdb will lazy load symbol? I'm debug PHP in debug/zts model. typedefed type zend_executor_globals can't be access. if I info type or bt type zend_executor_globals will be available. Thanks for you time. ---------------------------------------------- GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ....... done (gdb) b gc_zval_possible_root Breakpoint 1 at 0x1005aa670: file zend_gc.c, line 132. (gdb) r -r '' Starting program: /Users/reeze/Opensource/php-src/sapi/cli/php -r '' Reading symbols for shared libraries ++++++.......................... done Breakpoint 1, gc_zval_possible_root (zv=0x100dcbae0, tsrm_ls=0x100e009f0) at zend_gc.c:132 132 if (UNEXPECTED(GC_G(free_list) != NULL && (gdb) printzv zv No symbol "zend_executor_globals" in current context. <---- can't access here (gdb) p zend_executor_globals No symbol "zend_executor_globals" in current context. (gdb) p struct _zend_executor_globals Attempt to use a type name as an expression (gdb) p zend_executor_globals Attempt to use a type name as an expression <-------------- It can be access now. confused.:( -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.