Page 1 of 1

FPU affects thread stack traces?

Posted: Fri Nov 22, 2019 9:36 am
by steved
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)

Re: FPU affects thread stack traces?

Posted: Fri Nov 22, 2019 10:20 am
by Giovanni
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