New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rti field of processes (of type Grt.Processes.Process_Type) is not correctly populated. #2577
Comments
Yes, RTI are not fully populated with mcode; but probably RTI will disappear. |
@tgingold Well, there are several considerations (I am not familiar with the detailed roadmap of GHDL):
Also, the contract exists in the source code (a CLI option) and it is not fulfilled, and so that is why I reported this as a bug. I found this issue actually during a GDB debugging session (GDB crashed on printing a value - I mean GDB itself crashed on a GDB code bug with a fatal error), and I said: "Hey! We have this nice function Also, if you ever plan to implement native GDB debugging of VHDL (so: attaching GDB to the simulated design, not the simulator), you probably need all RTI to provide meaningful context and useful output. (I saw the |
(Late answer) If you need to display sensitivity, this could be added to the |
Description
--disp-sensitivity
returns garbage, as the Rti field of processes (of type Grt.Processes.Process_Type) is not correctly populated. E.g. console shows:even though
--dump-rti
shows correct RTI information.If you use the test.vhd provided, and do these actions:
GDB shows:
Later, Action.Proc.Rti is directly written to stdout at grt-disp_signals.adb#L365
Expected behaviour
Correctly displaying sensitivity information.
How to reproduce?
ghdl -a test.vhd ghdl --elab-run test --disp-sensitivity
Context
Please, provide the following information:
commit 7b53bcba15ff4a56d31373d7c39085fb099e337a
Additional context
The text was updated successfully, but these errors were encountered: