public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26661] New: Internal error (inferior.c) trying to start debug FreeRTOS on STM32F4 using OpenOCD and eclipse
@ 2020-09-24  5:49 daniel.kaleja at sick dot de
  0 siblings, 0 replies; only message in thread
From: daniel.kaleja at sick dot de @ 2020-09-24  5:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26661

            Bug ID: 26661
           Summary: Internal error (inferior.c) trying to start debug
                    FreeRTOS on STM32F4 using OpenOCD and eclipse
           Product: gdb
           Version: 8.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: daniel.kaleja at sick dot de
  Target Milestone: ---

Created attachment 12860
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12860&action=edit
Output of OpenOCD

Till now I debuged my hardware (STM32F429) without using special RTOS support.
Then I followed the guide on
https://mcuoneclipse.com/2016/04/09/freertos-thread-debugging-with-eclipse-and-openocd/
to enable RTOS debug support. Unfortunately when trying to start debug gdb
exits with the following output (output of OpenOCD is attached):

GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major)
8.3.0.20190709-git
Copyright (C) 2019 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 "--host=i686-w64-mingw32 --target=arm-none-eabi".
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".
[Switching to thread 1 (Thread 1)]
/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030_1572397542/src/gdb/gdb/inferior.c:287:
internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-24  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  5:49 [Bug gdb/26661] New: Internal error (inferior.c) trying to start debug FreeRTOS on STM32F4 using OpenOCD and eclipse daniel.kaleja at sick dot de

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).