This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19274] New: ptype can't find type in libxul.so


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'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]