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

Add more compiler options for debug. #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PytLab
Copy link
Contributor

@PytLab PytLab commented Oct 19, 2016

Hi, leetma:

I think it is better to add -fkeep-inline-function compiler option to generate a callable
version of inline functions for debug inline functions with gdb, or it will keep showing Cannot evaluate function -- may be inlined when debugging inline functions like printing some variables with inlined query functions.

referenc:
http://stackoverflow.com/questions/22029834/possible-to-call-inline-functions-in-gdb-and-or-emit-them-using-gcc

Thanks,
ShaoZhengjiang

Add -fkeep-inline-function compiler option to generate a callable
version of inline functions for debug inline functions with gdb.

referenc:
http://stackoverflow.com/questions/22029834/possible-to-call-inline
-functions-in-gdb-and-or-emit-them-using-gcc
@PytLab PytLab changed the title Add -fkeep-inline-function compiler option. Add more compiler option for debug. Oct 20, 2016
@PytLab PytLab changed the title Add more compiler option for debug. Add more compiler options for debug. Oct 20, 2016
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.

1 participant