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/20167] New: cannot create a tuple in rust


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

            Bug ID: 20167
           Summary: cannot create a tuple 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: ---

The rust parser and evaluator don't implement tuple expressions.
So `print (1,2,3)` doesn't work.

This could be made to work for tuple types that are already used
in the program; which is the most important part.  The key is
to construct the type name and look it up that way.

This came from https://github.com/tromey/gdb/issues/11 which
has a bit more discussion.

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