public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "yansendao at huawei dot com" <sourceware-bugzilla@sourceware.org> 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 [thread overview] Message-ID: <bug-26155-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=26155 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=12646&action=edit fortran been debug $ gfortran licm-print.F90 -g3 -O0 $ gdb a.out GNU gdb (GDB) 10.0.50.20200508-git Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. 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 Breakpoint 1, mydepart (rr0=..., alat=..., n=10) at licm-print.F90:16 16 if (rr0(k,j) <= 0.0d0) rr0(k,j) = rr0(k,j) + 2.0*cos(alat(j)) (gdb) p j $1 = 1 (gdb) p alat(j) $3 = 10 (gdb) p cos(alat(j)) Aborted (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2020-06-23 1:26 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-23 1:26 yansendao at huawei dot com [this message] 2021-02-03 12:40 ` [Bug fortran/26155] " vries at gcc dot gnu.org 2021-02-03 12:49 ` vries at gcc dot gnu.org 2021-02-25 10:33 ` cvs-commit at gcc dot gnu.org 2021-02-25 10:43 ` andrew.burgess at embecosm dot com 2021-02-25 11:58 ` vries at gcc dot gnu.org 2021-02-25 12:00 ` vries at gcc dot gnu.org 2021-02-25 14:45 ` tromey at sourceware dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26155-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).