variables, mostly private, not included into debug symbols list on -g3 -ggdb settings

Ariel Burbaickij ariel.burbaickij@gmail.com
Wed Jun 29 22:38:49 GMT 2022


Hello list,
any idea why private variables from  C++ source files are not included into
symbols list with -g3 and -ggdb compilation settings in gcc version 11.3.0
under Cygwin. Like that, roughly:

grep isInProgress *

<file_name>:    bool isInProgress;

$nm -Cal <file_name_of_executable>|grep isInProgress
$

So, watchpoints obviously do not work. Why is it like this ?

Kind Regards
Ariel Burbaickij


More information about the Cygwin mailing list