This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/22456] New: Can't access minsyms in Rust
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 17 Nov 2017 17:59:48 +0000
- Subject: [Bug rust/22456] New: Can't access minsyms in Rust
- Auto-submitted: auto-generated
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.