From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21621 invoked by alias); 1 Sep 2004 09:18:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21610 invoked from network); 1 Sep 2004 09:18:36 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 1 Sep 2004 09:18:36 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id i819IZsA005851 for ; Wed, 1 Sep 2004 11:18:35 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Wed, 01 Sep 2004 11:17:18 +0200 Message-Id: <5.2.0.9.1.20040901111203.01d35778@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Wed, 01 Sep 2004 09:18:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: gdb 6.1.1 (PPC) crash (long) In-Reply-To: <5.2.0.9.1.20040901102226.01d2fed8@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-09/txt/msg00004.txt.bz2 Hi Some followup: (gdb) frame 1 #1 0x00488bf8 in is_constructor_name (name=0x0) at ../../gdb-6.1.1/gdb/cp-abi.c:44 44 return (*current_cp_abi.is_constructor_name) (name); (gdb) info locals name = 0x0 (gdb) info args name = 0x0 (gdb) frame 2 #2 0x004dda6c in c_type_print_base (type=0xa2b4b68, stream=0xa084088, show=1, level=0) at ../../gdb-6.1.1/gdb/c-typeprint.c:952 952 int is_full_physname_constructor = (gdb) info locals physname = 0x0 is_full_physname_constructor = 0 method_name = 0xa0951b8 "CMainTask" f = (struct fn_field *) 0xa2b4da8 j = 0 len2 = 2 name = 0x0 is_constructor = 1 type = (struct type *) 0xa2b4b68 stream = (struct ui_file *) 0xa084088 show = 1 level = 0 i = 2 len = 4 real_len = 0 lastval = 0 mangled_name = 0xa297650 "_._9CMainTask" demangled_name = 0xa28da58 "X\203)\nE\203)\nk::~CMainTask(void)" section_type = s_public need_access_label = 1 j = 170610088 len2 = 4 (gdb) frame 3 #3 0x004dc816 in c_print_type (type=0xa2b4b68, varstring=0x716c4d "", stream=0xa084088, show=1, level=0) at ../../gdb-6.1.1/gdb/c-typeprint.c:75 75 c_type_print_base (type, stream, show, level); (gdb) info locals type = (struct type *) 0xa2b4b68 varstring = 0x716c4d "" stream = (struct ui_file *) 0xa084088 show = 1 level = 0 demangled_args = 0 need_post_space = 0 (gdb) info args type = (struct type *) 0xa2b4b68 varstring = 0x716c4d "" stream = (struct ui_file *) 0xa084088 show = 1 level = 0 (gdb) frame 4 #4 0x004945af in type_print (type=0xa2b4b68, varstring=0x716c4d "", stream=0xa084088, show=1) at ../../gdb-6.1.1/gdb/typeprint.c:109 109 LA_PRINT_TYPE (type, varstring, stream, show, 0); (gdb) info locals type = (struct type *) 0x0 varstring = 0x0 stream = (struct ui_file *) 0x0 show = 0 (gdb) info args type = (struct type *) 0x0 varstring = 0x0 stream = (struct ui_file *) 0x0 show = 0 (gdb) frame 5 #5 0x0049482a in ptype_command (typename=0xa05180e "CMainTask", from_tty=1) at ../../gdb-6.1.1/gdb/typeprint.c:223 223 type_print (type, "", gdb_stdout, 1); (gdb) info locals typename = 0xa05180e "CMainTask" expr = (struct expression *) 0xa094f38 old_chain = (struct cleanup *) 0xa069ac8 (gdb) info args typename = 0xa05180e "CMainTask" from_tty = 1 Maybe this is helpful. Debug format is stabs. Is this supposed to look like that? demangled_name = 0xa28da58 "X\203)\nE\203)\nk::~CMainTask(void)" Thanks bye Fabi