Re: Remote query for structure layout

David Blaikie via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAENS6EsCMr5oV1DPF5MaP0eLdc2udR2E8pXj=hsKtxYvb9tXOw@mail.gmail.com>
On Tue, Mar 30, 2021 at 3:38 PM Simon Marchi <[email protected]>
wrote:

> On 2021-03-30 6:03 p.m., David Blaikie wrote:>
> > Perhaps - though I was thinking actually hardcoded in the compiler -
> since it's the one that chooses/knows the layout, it's not (presumably)
> using any code it reads from a header, etc, in user code to define the
> layout.
>
> Is it really the compiler that decides this layout?  My understanding is
> that this is decided by the FreeRTOS code.
>
> Having used FreeRTOS a few times, my understanding is that it's
> basically a big library, the compiler doesn't really know about it.  For
> all it knows, you are compiling a bare metal program that happens to
> implement a task system.
>

Ah, sorry, my misunderstanding then - knew nothing about it. Sorry about
that.

If it's "just" some user-code, is there a variable of the desired type
being declared around the function call?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.