public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "jmatyas at codasip dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/26819] RISC-V: internal-error: int finish_step_over(execution_control_state*): Assertion Date: Sun, 08 Nov 2020 11:10:28 +0000 [thread overview] Message-ID: <bug-26819-4717-ubwR9cutR8@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26819-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26819 --- Comment #2 from Jan Matyas <jmatyas at codasip dot com> --- Hello Andrew, thank you for taking the time to look at this. I have re-run the scenario in question against the very latest spike and openocd, and can confirm the assertion still gets triggered. These are the revisions of Spike and RISC-V OpenOCD I have used. Both should be the latest "trunk" code as of now: riscv-openocd: 1ba1b8784 (HEAD -> riscv, origin/riscv, origin/HEAD) Fix build outside of a git repo. (#551) riscv-isa-sim: 641d7d0 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #588 from kito-cheng/master Riscv-gcc and riscv-gdb I have taken from this fresh build by Embecosm: https://buildbot.embecosm.com/job/riscv32-gcc-ubuntu1804/25/ The OpenOCD deprecation warning about "-rtos riscv" shows in my setup, too, and I believe it is of no consequence for this issue. However, our results differ in the number of harts discovered by OpenOCD: Your output: Info : Examined RISC-V core; found 1 harts Info : hart 0: XLEN=64, misa=0x8000000000141129 My results: Info : Examined RISC-V core; found 2 harts Info : hart 0: currently disabled Info : hart 1: XLEN=64, misa=0x8000000000141129 Could it be that your spike is configured differently - with just a single hart? For reference, I am attaching "20201108-102839-spike64_2-PrivChange.log" which shows logs from GDB, OpenOCD and Spike. Note that the exact GDB command sequence may be slightly different from the original scenario, but showing the same issue. I'd be happy to provide further data on the issue, if needed. Regards, Jan -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-11-08 11:10 UTC|newest] Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-30 16:11 [Bug gdb/26819] New: " jmatyas at codasip dot com 2020-10-30 16:13 ` [Bug gdb/26819] " jmatyas at codasip dot com 2020-11-08 9:07 ` [Bug gdb/26819] RISC-V: " jmatyas at codasip dot com 2020-11-08 10:07 ` andrew.burgess at embecosm dot com 2020-11-08 11:10 ` jmatyas at codasip dot com [this message] 2020-11-08 11:13 ` jmatyas at codasip dot com 2020-11-09 9:51 ` andrew.burgess at embecosm dot com 2021-01-06 6:37 ` jmatyas at codasip dot com 2021-01-06 9:35 ` andrew.burgess at embecosm dot com 2021-01-08 11:03 ` jmatyas at codasip dot com 2021-01-08 16:09 ` simark at simark dot ca 2021-01-14 1:27 ` cvs-commit at gcc dot gnu.org 2021-01-14 1:29 ` simark at simark dot ca 2021-01-14 9:11 ` andrew.burgess at embecosm dot com 2021-01-14 9:41 ` jmatyas at codasip dot com 2021-01-16 11:00 ` jmatyas at codasip dot com 2021-01-16 11:03 ` jmatyas at codasip dot com 2021-01-16 11:04 ` jmatyas at codasip dot com 2021-01-17 3:36 ` simark at simark dot ca 2021-01-17 22:37 ` jmatyas at codasip dot com 2021-01-17 22:38 ` jmatyas at codasip dot com 2021-01-17 22:39 ` jmatyas at codasip dot com 2021-01-18 5:15 ` simark at simark dot ca 2021-01-18 11:01 ` jmatyas at codasip dot com 2021-01-18 15:23 ` sebastian.huber@embedded-brains.de 2021-01-27 12:35 ` jmatyas at codasip dot com 2021-01-27 16:00 ` simark at simark dot ca 2021-02-07 21:20 ` jmatyas at codasip dot com 2021-02-08 2:00 ` simon.marchi at polymtl dot ca 2021-02-08 2:02 ` simon.marchi at polymtl dot ca 2021-02-20 20:51 ` simark at simark dot ca 2021-02-24 9:17 ` jmatyas at codasip dot com 2021-02-25 7:41 ` jmatyas at codasip dot com 2021-02-25 20:50 ` simark at simark dot ca 2021-03-04 23:23 ` jmatyas at codasip dot com 2021-03-04 23:24 ` jmatyas at codasip dot com 2021-03-04 23:25 ` jmatyas at codasip dot com 2021-03-04 23:25 ` jmatyas at codasip dot com 2021-03-04 23:27 ` simark at simark dot ca 2021-03-04 23:46 ` jmatyas at codasip dot com 2021-03-04 23:49 ` jmatyas at codasip dot com 2021-06-03 20:41 ` andrew.burgess at embecosm dot com 2021-06-03 21:19 ` andrew.burgess at embecosm dot com 2021-06-03 21:38 ` andrew.burgess at embecosm dot com 2021-06-06 14:28 ` brobecker at gnat dot com 2021-06-07 5:28 ` jmatyas at codasip dot com 2021-06-07 8:30 ` andrew.burgess at embecosm dot com 2021-08-06 1:41 ` lennordocdoc0921 at gmail dot com 2022-04-09 15:07 ` [Bug tdep/26819] " tromey at sourceware dot org 2022-11-29 19:38 ` 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-26819-4717-ubwR9cutR8@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).