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/22456] New: Can't access minsyms in Rust


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

            Bug ID: 22456
           Summary: Can't access minsyms in Rust
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: rust
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com
  Target Milestone: ---

Currently you can't print minsyms when the current language is rust:

 $ gdb ./testsuite/outputs/gdb.base/nodebug/nodebug 
 ...
 (gdb) show language 
 The current source language is "auto; currently c".
 (gdb) p dataglobal
 'dataglobal' has unknown type; cast it to its declared type

 (gdb) set language rust 
 (gdb) p dataglobal
 No symbol 'dataglobal' in current context

gdb.base/nodebug.exp currently has this to cope:

        # Rust can't access minsyms?
        set rust_nosym "No symbol 'top' in current context"

which will need to be tweaked if/when the problem is fixed.

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