gdb
Compile 옵션-g produces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2). -ggdb produces debugging information specifically intended for gdb. -ggdb3 produces extra debugging information, for example: including macro definitions. -ggdb by itself without specifying the level defaults to -ggdb2 (i.e., gdb for level 2).show sharedlibrary (gdb) info sharedlibary To debug..