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 rust/21764] New: sizeof(type) does not work in rust


https://sourceware.org/bugzilla/show_bug.cgi?id=21764

            Bug ID: 21764
           Summary: sizeof(type) does not work in rust
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: rust
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

See the test case in https://sourceware.org/bugzilla/show_bug.cgi?id=21763
Printing the size of q::Foo does not work:

(gdb) p sizeof(q::Foo)
?error in operator_length_standard

It works ok for i32, though.

-- 
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]