Skip to content

m680x: remove calls to fprintf, abort#1485

Closed
tmfink wants to merge 1 commit intocapstone-engine:nextfrom
tmfink:no-printf
Closed

m680x: remove calls to fprintf, abort#1485
tmfink wants to merge 1 commit intocapstone-engine:nextfrom
tmfink:no-printf

Conversation

@tmfink
Copy link
Copy Markdown
Contributor

@tmfink tmfink commented May 17, 2019

Addresses #1483

fprintf is not suitable for kernel code other other environments.

Libraries should not exit with abort.

fprintf is not suitable for kernel code other other environments.

Libraries should not exit with abort.
fprintf(stderr, "Internal error: Unexpected operand0 register "
"%d\n", op0->reg);
abort();
// Should never happen
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this make sense?

@aquynh
Copy link
Copy Markdown
Collaborator

aquynh commented May 18, 2019

@aladur please ack.

@tmfink
Copy link
Copy Markdown
Contributor Author

tmfink commented May 20, 2019

handled with #1489

@tmfink tmfink closed this May 20, 2019
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

Successfully merging this pull request may close these issues.

2 participants