FPU affects thread stack traces?

Discussions and support about ChibiStudio, the free development environment for ARM.
steved
Posts: 627
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 5 times
Been thanked: 87 times

FPU affects thread stack traces?

Postby steved » Fri Nov 22, 2019 9:36 am

I'm using vanilla Chibistudio 21 on the 32F767, GCC 7. OpenOcd configured to expect a Chibi RTOS.

With FPU disabled, on a breakpoint the debug window lists all the threads with their stack traces, as expected. Enable the FPU and the threads are still listed, but without stack trace information - Eclipse says its not available.

Has anyone else seen anything like this?
I wonder if the double precision FPU of the F767 makes a difference.

I do very little floating point arithmetic, so the FPU isn't particularly important in this application.

(Disabling the FPU also changes the state of one part of my software from "erratic" to "functional", but I suspect its just moved the problem elsewhere)

User avatar
Giovanni
Site Admin
Posts: 12296
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 590 times
Been thanked: 504 times
Contact:

Re: FPU affects thread stack traces?

Postby Giovanni » Fri Nov 22, 2019 10:20 am

I doubt that double precision affects that, it must simply be regarding FPU enabled or not. Single or double precision use the same registers set and stack frames are equal.

I think the problem could be in OpenOCD (the GDB server).

Giovanni


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 1 guest