This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc dwarf DW_OP_mod
- From: phi gcc <phi dot gcc at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 11 Jul 2017 10:16:51 +0200
- Subject: gcc dwarf DW_OP_mod
- Authentication-results: sourceware.org; auth=none
Hi All,
In vmlinux dwarf debug info I can see this that was generacted by gcc
DW_OP_breg6 (rbp): -52;
DW_OP_deref_size: 4;
DW_OP_breg6 (rbp): -56;
DW_OP_deref_size: 4;
DW_OP_GNU_convert <0x41f117f>;
DW_OP_breg6 (rbp): -60;
DW_OP_deref_size: 4;
DW_OP_GNU_convert <0x41f117f>;
DW_OP_div;
DW_OP_GNU_convert <0x0>;
DW_OP_mod
I am not familiar with DW_OP_GNU_convert <0x0>; My feeling is that is
convert this to an integer ? that should be zero.
If so the question is, does generating a mod 0 is intentional ?
Any help appreciated.
There is still a possibilility that the convert don't give ZERO whin
then would mean the MOD is ok.
Cheers,
Phi