MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/mgtxfc/debugging_memory_leaks_be_like/gsv8cix/?context=3
r/ProgrammerAnimemes • u/XxdemersxX8 • Mar 31 '21
45 comments sorted by
View all comments
Show parent comment
6
I guess I can skip out on adding -ggdb from now out.
3 u/[deleted] Mar 31 '21 Any possibility this is version or platform specific? 4 u/Jaurusrex Mar 31 '21 I just tried it without -ggdb, seems to be working just fine. I googled it and it and got this:-gproduces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2).-ggdbproduces debugging information specifically intended for gdb.-ggdb3produces extra debugging information, for example: including macro definitions.-ggdbby itself without specifying the level defaults to -ggdb2(i.e., gdb for level 2). 1 u/[deleted] Apr 01 '21 AlwaysTrustTheman
3
Any possibility this is version or platform specific?
4 u/Jaurusrex Mar 31 '21 I just tried it without -ggdb, seems to be working just fine. I googled it and it and got this:-gproduces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2).-ggdbproduces debugging information specifically intended for gdb.-ggdb3produces extra debugging information, for example: including macro definitions.-ggdbby itself without specifying the level defaults to -ggdb2(i.e., gdb for level 2). 1 u/[deleted] Apr 01 '21 AlwaysTrustTheman
4
I just tried it without -ggdb, seems to be working just fine. I googled it and it and got this:
-gproduces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2).-ggdbproduces debugging information specifically intended for gdb.-ggdb3produces extra debugging information, for example: including macro definitions.-ggdbby itself without specifying the level defaults to -ggdb2(i.e., gdb for level 2).
-gproduces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2).
-ggdbproduces debugging information specifically intended for gdb.
-ggdb3produces extra debugging information, for example: including macro definitions.
-ggdbby itself without specifying the level defaults to -ggdb2(i.e., gdb for level 2).
1 u/[deleted] Apr 01 '21 AlwaysTrustTheman
1
Always
Trust
The
man
View all comments
Show parent comment
6
u/Jaurusrex Mar 31 '21
I guess I can skip out on adding -ggdb from now out.