From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4EC7389040A; Tue, 23 Jun 2020 01:26:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4EC7389040A From: "yansendao at huawei dot com" To: gdb-prs@sourceware.org Subject: [Bug fortran/26155] New: p cos(alat(j)) command make gdb Aborted (core dumped) Date: Tue, 23 Jun 2020 01:26:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yansendao at huawei dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2020 01:26:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26155 Bug ID: 26155 Summary: p cos(alat(j)) command make gdb Aborted (core dumped) Product: gdb Version: 10.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran Assignee: unassigned at sourceware dot org Reporter: yansendao at huawei dot com Target Milestone: --- Created attachment 12646 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12646&action=3Ded= it fortran been debug $ gfortran licm-print.F90 -g3 -O0 $ gdb a.out=20 GNU gdb (GDB) 10.0.50.20200508-git Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from a.out... (gdb) b 16 Breakpoint 1 at 0x400a20: file licm-print.F90, line 16. (gdb) r Starting program: /home/yansendao/tmp/alias/a.out=20 Breakpoint 1, mydepart (rr0=3D..., alat=3D..., n=3D10) at licm-print.F90:16 16 if (rr0(k,j) <=3D 0.0d0) rr0(k,j) =3D rr0(k,j) + 2.0*cos(= alat(j)) (gdb) p j $1 =3D 1 (gdb) p alat(j) $3 =3D 10 (gdb) p cos(alat(j)) Aborted (core dumped) --=20 You are receiving this mail because: You are on the CC list for the bug.=