public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
@ 2021-03-04 1:15 egarcia.charger at gmail dot com
2021-03-04 1:16 ` [Bug breakpoints/27509] " egarcia.charger at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: egarcia.charger at gmail dot com @ 2021-03-04 1:15 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
Bug ID: 27509
Summary: ARM Cortex-M7: Setting breakpoint and stepping through
causes internal error at function 'finish_step_over'
Product: gdb
Version: 10.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: egarcia.charger at gmail dot com
Target Milestone: ---
Here is my setup: J-LINK Plus -> Cortex-M7 (STM32H750).
GDB: GNU gdb (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.1.90.20201028-git
RTOS: ChibiOS
JLinkGDBServer: JLinkARM.dll V6.90a (DLL compiled Dec 14 2020 17:13:26)
Error:
[New Remote target]
/tmp/jenkins-GCC-10-pipeline-48_20201124_1606180639/src/gdb/gdb/infrun.c:5690:
internal-error: int finish_step_over(struct execution_control_state *):
Assertion `ecs->event_thread->control.trap_expected' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Steps:
1. Launch JLinkGDBServer with the flag `-rtos GDBServer/RTOSPlugin_ChibiOS` to
enable thread awareness.
2. Set breakpoint in code.
3. Program code then run to breakpoint.
4. Step through code.
5. Error occurs.
Temporary Workaround:
Disable thread awareness when launching JLinkGDBServer (definitely not ideal
since thread awareness is very useful).
I tried this on v9.2 and v10.1 of GDB and both have the same error, just at
different line numbers. Is there anymore information I can provide to help you
fix this issue? It makes debugging extremely unusable.
Thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug breakpoints/27509] ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
@ 2021-03-04 1:16 ` egarcia.charger at gmail dot com
2021-03-04 15:50 ` simark at simark dot ca
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: egarcia.charger at gmail dot com @ 2021-03-04 1:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
egarcia.charger at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug breakpoints/27509] ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
2021-03-04 1:16 ` [Bug breakpoints/27509] " egarcia.charger at gmail dot com
@ 2021-03-04 15:50 ` simark at simark dot ca
2022-11-29 20:39 ` tromey at sourceware dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: simark at simark dot ca @ 2021-03-04 15:50 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-03-04
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |simark at simark dot ca
--- Comment #1 from Simon Marchi <simark at simark dot ca> ---
Can you check whether this is the same issue as
https://sourceware.org/bugzilla/show_bug.cgi?id=26819
? If so, it should be fixed in master. Can you try with master?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug breakpoints/27509] ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
2021-03-04 1:16 ` [Bug breakpoints/27509] " egarcia.charger at gmail dot com
2021-03-04 15:50 ` simark at simark dot ca
@ 2022-11-29 20:39 ` tromey at sourceware dot org
2023-03-16 7:59 ` bohdan200 at gmail dot com
2023-03-29 12:14 ` luis.machado at arm dot com
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-11-29 20:39 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Status|NEW |WAITING
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
If this was using OpenOCD then it probably is a dup.
Waiting to hear from the OP though.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug breakpoints/27509] ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
` (2 preceding siblings ...)
2022-11-29 20:39 ` tromey at sourceware dot org
@ 2023-03-16 7:59 ` bohdan200 at gmail dot com
2023-03-29 12:14 ` luis.machado at arm dot com
4 siblings, 0 replies; 6+ messages in thread
From: bohdan200 at gmail dot com @ 2023-03-16 7:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
Bohdan Tymkiv <bohdan200 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bohdan200 at gmail dot com
--- Comment #3 from Bohdan Tymkiv <bohdan200 at gmail dot com> ---
Hello gentlemen,
>> JLinkGDBServer: JLinkARM.dll V6.90a (DLL compiled Dec 14 2020 17:13:26)
>> Launch JLinkGDBServer with the flag `-rtos GDBServer/RTOSPlugin_ChibiOS`
This is not an OpenOCD, OP is definitely using native SEGGER tools.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug breakpoints/27509] ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over'
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
` (3 preceding siblings ...)
2023-03-16 7:59 ` bohdan200 at gmail dot com
@ 2023-03-29 12:14 ` luis.machado at arm dot com
4 siblings, 0 replies; 6+ messages in thread
From: luis.machado at arm dot com @ 2023-03-29 12:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27509
Luis Machado <luis.machado at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luis.machado at arm dot com
--- Comment #4 from Luis Machado <luis.machado at arm dot com> ---
I seem to recall J-LINK reported the initial thread number as something that
wasn't quite correct (42000, I think), and gdb eventually got confused with it.
I'm not sure if it is the same problem though. We'd need a RSP log to tell.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-03-29 12:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 1:15 [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' egarcia.charger at gmail dot com
2021-03-04 1:16 ` [Bug breakpoints/27509] " egarcia.charger at gmail dot com
2021-03-04 15:50 ` simark at simark dot ca
2022-11-29 20:39 ` tromey at sourceware dot org
2023-03-16 7:59 ` bohdan200 at gmail dot com
2023-03-29 12:14 ` luis.machado at arm dot com
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).