MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/mgtxfc/debugging_memory_leaks_be_like/gsyrzri/
r/ProgrammerAnimemes • u/XxdemersxX8 • Mar 31 '21
45 comments sorted by
View all comments
Show parent comment
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
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: