public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/25886] New: [debug-types] FAIL: gdb.base/enumval.exp: p ZERO
@ 2020-04-28 11:53 vries at gcc dot gnu.org
  2020-04-28 12:18 ` [Bug symtab/25886] " vries at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-04-28 11:53 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 25886
           Summary: [debug-types] FAIL: gdb.base/enumval.exp: p ZERO
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running test-case gdb.base/enumval.exp with target board debug-types, we
have:
...
(gdb) p ZERO^M
No symbol "ZERO" in current context.^M
(gdb) FAIL: gdb.base/enumval.exp: p ZERO
...

Minimal reproducer:
...
$ gdb -batch outputs/gdb.base/enumval/enumval \
  -ex "p e" \
  -ex "p ZERO" 
$1 = J
No symbol "ZERO" in current context.
...

OTOH, this does work:
...
$ gdb -batch outputs/gdb.base/enumval/enumval \
  -ex "p ZERO" 
$1 = ZERO
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-28 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 11:53 [Bug symtab/25886] New: [debug-types] FAIL: gdb.base/enumval.exp: p ZERO vries at gcc dot gnu.org
2020-04-28 12:18 ` [Bug symtab/25886] " vries at gcc dot gnu.org
2020-04-28 12:19 ` vries at gcc dot gnu.org
2020-04-28 14:44 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).