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/20602] New: printing result of $_as_string doesn't work in rust


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

            Bug ID: 20602
           Summary: printing result of $_as_string doesn't work in rust
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: rust
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

In rust I get this:

(gdb) p $_as_string(operation)
$318 = [48, 120, 55, 102, 102, 102, 102, 54, 51, 102, 100, 52, 102, 48]

The type turns out to be:

(gdb) ptype $318
type = [u8; 14]

So, that's correct, but still not very useful.
Not exactly sure what should be done, but I think this should be made
to work somehow.

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