This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb 6.1.1 (PPC) crash (long)
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Wed, 01 Sep 2004 11:18:01 +0200
- Subject: Re: gdb 6.1.1 (PPC) crash (long)
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