Skip to content
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

Format 2 irreport/irdepth when stopping trace #134

Open
pdonahue-ventana opened this issue Aug 12, 2024 · 1 comment
Open

Format 2 irreport/irdepth when stopping trace #134

pdonahue-ventana opened this issue Aug 12, 2024 · 1 comment

Comments

@pdonahue-ventana
Copy link
Contributor

If tracing stops for any reason, the address of the final traced instruction must be output.

This might involve a format 2 packet if there's no unreported branch information. The "Format 2 irreport and irdepth" section says:

In some cases it is also necessary to report the current stack depth or call count if the packet is reporting the last instruction before an exception, interrupt, privilege change or resync.

What if tracing stops while we're in this recursive situation? Should it report the stack depth before an exception, interrupt, privilege change, resync, or stopping trace? Or is that not necessary?

@IainCRobertson

@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Aug 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants