This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug varobj/8295] Typedef types are not displayed properly
- From: "keiths at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 11 Oct 2011 19:48:15 +0000
- Subject: [Bug varobj/8295] Typedef types are not displayed properly
- Auto-submitted: auto-generated
- References: <bug-8295-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=8295
Keith Seitz <keiths at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME
AssignedTo|unassigned at sourceware |keiths at redhat dot com
|dot org |
--- Comment #2 from Keith Seitz <keiths at redhat dot com> 2011-10-11 19:48:15 UTC ---
This appears to have been fixed some time in the past:
$ ./gdb -nx -q ~/tmp/typedefs --i=mi
=thread-group-added,id="i1"
~"Reading symbols from /home/keiths/tmp/typedefs..."
~"done.\n"
(gdb)
-break-insert typedefs.c:15
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040047f",func="main",file="typedefs.c",fullname="/home/keiths/tmp/typedefs.c",line="15",times="0",original-location="typedefs.c:15"}
(gdb)
-exec-run
=thread-group-started,id="i1",pid="20042"
=thread-created,id="1",group-id="i1"
^running
*running,thread-id="all"
(gdb)
=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="/lib64/libc.so.6",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040047f",func="main",file="typedefs.c",fullname="/home/keiths/tmp/typedefs.c",line="15",times="1",original-location="typedefs.c:15"}
*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x000000000040047f",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fffffffe0e8"}],file="typedefs.c",fullname="/home/keiths/tmp/typedefs.c",line="15"},thread-id="1",stopped-threads="all",core="5"
(gdb)
-var-create - * foo
^done,name="var1",numchild="2",value="{...}",type="Foo",thread-id="1",has_more="0"
(gdb)
-var-create - * p_foo
^done,name="var2",numchild="2",value="<optimized out>",type="Foo
*",has_more="0"
(gdb)
-var-create - * integer
^done,name="var3",numchild="0",value="<optimized
out>",type="Integer",has_more="0"
(gdb)
-var-create - * p_int
^done,name="var4",numchild="1",value="<optimized out>",type="Integer
*",has_more="0"
--
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.