tromey at sourceware dot org
2015-11-20 16:10:00 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=19274
Bug ID: 19274
Summary: ptype can't find type in libxul.so
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I am trying to inspect a certain type in libxul.so.
I'm using a gdb based off of today's git master.
A simple attempt fails like this:
(gdb) ptype mozilla::net::HttpChannelChild
No type "net" within class or namespace "mozilla".
However, that type really does exist:
(gdb) info types mozilla::net::HttpChannelChild
All types matching regular expression "mozilla::net::HttpChannelChild":
[...]
File ../../../dist/include/mozilla/net/HttpChannelChild.h:
mozilla::net::HttpChannelChild;
Trying with a leading "::" gives an error:
(gdb) ptype ::mozilla::net::HttpChannelChild
A syntax error in expression, near `mozilla::net::HttpChannelChild'.
Bug ID: 19274
Summary: ptype can't find type in libxul.so
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I am trying to inspect a certain type in libxul.so.
I'm using a gdb based off of today's git master.
A simple attempt fails like this:
(gdb) ptype mozilla::net::HttpChannelChild
No type "net" within class or namespace "mozilla".
However, that type really does exist:
(gdb) info types mozilla::net::HttpChannelChild
All types matching regular expression "mozilla::net::HttpChannelChild":
[...]
File ../../../dist/include/mozilla/net/HttpChannelChild.h:
mozilla::net::HttpChannelChild;
Trying with a leading "::" gives an error:
(gdb) ptype ::mozilla::net::HttpChannelChild
A syntax error in expression, near `mozilla::net::HttpChannelChild'.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.