public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "andrew.burgess at embecosm 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 10:07:23 +0000 [thread overview] Message-ID: <bug-26819-4717-wd5FHZwHho@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26819-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26819 Andrew Burgess <andrew.burgess at embecosm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.burgess at embecosm dot com --- Comment #1 from Andrew Burgess <andrew.burgess at embecosm dot com> --- Jan, Thank you for including such clear steps to reproduce, they were very helpful. I tried following the steps but could not reproduce this issue, however, thanks to your great instructions I was able to see where I diverge from your behaviour. When you start GDB, you report this: (gdb) info threads Id Target Id Frame * 1 Thread 1 (Name: Hart 0, RV64) 0x00000012123408b0 in stack_bottom () 2 Thread 2 (Name: Hart 1, RV64) 0x000000121234089c in stack_bottom () (gdb) thread 2 However, when I start GDB, I see this: (gdb) info threads Id Target Id Frame * 1 Thread 1 (Name: Hart 0, RV64) 0x0000001212340840 in stack_bottom () I did try following the rest of your steps using thread 1, but the bug didn't reproduce. The fact that I only see a single thread doesn't seem too surprising given that in my openocd startup I see this: Warn : `-rtos riscv` is deprecated and will be removed at the end of 2020! Please Warn : change your configuration to use `-rtos hwthread` instead. To do that, you Warn : will have to explicitly list every hart in the system as a separate target. See Warn : https://github.com/riscv/riscv-tests/blob/ec6537fc4a527ca88be2f045e01c460e640ab9c5/debug/targets/SiFive/HiFiveUnleashed.cfg#L11 Warn : for an example. And: Info : Examined RISC-V core; found 1 harts Info : hart 0: XLEN=64, misa=0x8000000000141129 Could you confirm the exact git SHA you are using for spike and openocd please. Or any other suggestions for what might be different between our environments? -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-11-08 10:07 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 [this message] 2020-11-08 11:10 ` jmatyas at codasip dot com 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-wd5FHZwHho@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).