public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30103] New: GDB gets confused about what is the current source file for various actions
@ 2023-02-09 16:31 luis.machado at arm dot com
  2023-02-09 16:32 ` [Bug gdb/30103] " luis.machado at arm dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: luis.machado at arm dot com @ 2023-02-09 16:31 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30103
           Summary: GDB gets confused about what is the current source
                    file for various actions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: luis.machado at arm dot com
                CC: vries at gcc dot gnu.org
  Target Milestone: ---
              Host: aarch64-linux
            Target: aarch64-linux
             Build: aarch64-linux

As described in here, gdb seems to get confused about what is the current
source file to use for commands like break / list / info source.

In particular, there seems to be a manifestation of this confusion when the
source file is the same and doesn't have any directory components to it.

Attached is an example of how the test fails on aarch64-linux Ubuntu 22.04. It
doesn't fail for aarch64-linux Ubuntu 20.04 though.

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

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

end of thread, other threads:[~2023-02-10 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 16:31 [Bug gdb/30103] New: GDB gets confused about what is the current source file for various actions luis.machado at arm dot com
2023-02-09 16:32 ` [Bug gdb/30103] " luis.machado at arm dot com
2023-02-10 11:07 ` [Bug testsuite/30103] " vries at gcc dot gnu.org
2023-02-10 14:58 ` cvs-commit at gcc dot gnu.org
2023-02-10 14:59 ` 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).