public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp
@ 2021-02-09  2:29 luis.machado at linaro dot org
  2021-02-09 10:27 ` [Bug gdb/27383] " luis.machado at linaro dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: luis.machado at linaro dot org @ 2021-02-09  2:29 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27383
           Summary: [Regression] gdb.fortran/nested-funcs.exp and
                    gdb.fortran/nested-funcs-2.exp
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: luis.machado at linaro dot org
                CC: tromey at sourceware dot org
  Target Milestone: ---
              Host: aarch64-linux-gnu
            Target: aarch64-linux-gnu
             Build: aarch64-linux-gnu

Created attachment 13212
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13212&action=edit
Binaries and logs (bionic and focal)

These failures seem to have started with commit
1b30f42106cfd50ef1c020db2ca31f2fbe51ef8a (via git bisect).

I confirmed this on aarch64-linux/Ubuntu 20.04 (focal). It's not reproducible
on Ubuntu 18.04 (bionic).

FAIL: gdb.fortran/nested-funcs.exp: print index at BP_outer
FAIL: gdb.fortran/nested-funcs.exp: print index at BP1, one frame up
FAIL: gdb.fortran/nested-funcs.exp: print index at BP_inner
FAIL: gdb.fortran/nested-funcs.exp: print v_state%code at BP_inner
FAIL: gdb.fortran/nested-funcs.exp: print index at BP_main
FAIL: gdb.fortran/nested-funcs.exp: print v_state%code at BP_main
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=0: printing
outer scoped variable
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: printing
outer scoped variable
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=0: printing
outer scoped variable
FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=1: nest_prefix=1: printing
outer scoped variable

I haven't investigated it too much, but GDB seems to be printing incorrect
values for some symbols.

The logs and binaries are attached.

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

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

* [Bug gdb/27383] [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp
  2021-02-09  2:29 [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp luis.machado at linaro dot org
@ 2021-02-09 10:27 ` luis.machado at linaro dot org
  2021-02-11 15:32 ` tromey at sourceware dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: luis.machado at linaro dot org @ 2021-02-09 10:27 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.1

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

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

* [Bug gdb/27383] [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp
  2021-02-09  2:29 [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp luis.machado at linaro dot org
  2021-02-09 10:27 ` [Bug gdb/27383] " luis.machado at linaro dot org
@ 2021-02-11 15:32 ` tromey at sourceware dot org
  2021-02-11 15:46 ` cvs-commit at gcc dot gnu.org
  2021-02-11 15:46 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2021-02-11 15:32 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org

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

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

* [Bug gdb/27383] [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp
  2021-02-09  2:29 [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp luis.machado at linaro dot org
  2021-02-09 10:27 ` [Bug gdb/27383] " luis.machado at linaro dot org
  2021-02-11 15:32 ` tromey at sourceware dot org
@ 2021-02-11 15:46 ` cvs-commit at gcc dot gnu.org
  2021-02-11 15:46 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-02-11 15:46 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b260f8d60c24fb541b9b4635ed31e30e6acd6b7a

commit b260f8d60c24fb541b9b4635ed31e30e6acd6b7a
Author: Tom Tromey <tromey@adacore.com>
Date:   Thu Feb 11 08:27:46 2021 -0700

    Fix two Fortran regressions

    Luis pointed out that an earlier patch of mine caused two regressions
    in gdb.fortran.  This patch fixes the problem.

    Regression tested on x86-64 Fedora 32.

    gdb/ChangeLog
    2021-02-11  Tom Tromey  <tromey@adacore.com>

            PR gdb/27383:
            * parse.c (write_exp_symbol_reference): Write sym.block.

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

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

* [Bug gdb/27383] [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp
  2021-02-09  2:29 [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp luis.machado at linaro dot org
                   ` (2 preceding siblings ...)
  2021-02-11 15:46 ` cvs-commit at gcc dot gnu.org
@ 2021-02-11 15:46 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2021-02-11 15:46 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.

-- 
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:[~2021-02-11 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09  2:29 [Bug gdb/27383] New: [Regression] gdb.fortran/nested-funcs.exp and gdb.fortran/nested-funcs-2.exp luis.machado at linaro dot org
2021-02-09 10:27 ` [Bug gdb/27383] " luis.machado at linaro dot org
2021-02-11 15:32 ` tromey at sourceware dot org
2021-02-11 15:46 ` cvs-commit at gcc dot gnu.org
2021-02-11 15:46 ` tromey at sourceware dot 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).