Skip to content

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