Roland McGrath wrote:The -gdwarf2 had a specific reason. I had not looked at the recent gcc 4.1.x + binutils, but in the gcc 3.x.x compilers when you pass just -g the assembler emitted stabs debug data on most archs. This not only made the debug object files bigger, but also the stabs sections were not always parsed correctly in various versions of gdb. I found the dwarf2 sections to be smaller and more reliable to allow source level assembly stepping as well as debug frame info through the assembly linked functions (ie better back traces). If it is the case that the gcc 4.1.x + binutils all emit dwarf2 as the default you can use just -g. I'll also take a moment to mention that in the kgdb branch, I also modified the top level make file so that you can un-optimize kernel modules compiled outside the kernel tree. I find this this is useful if you want to step through significant chunks of code in your kernel module IE: make ARCH=i386 -C KERN_SRC_LOCATION M=/my_mod COMPTIMIZE=-O0 Jason. -
| Tony Lindgren | [PATCH 26/90] ARM: OMAP: abstract debug card setup (smc, leds) |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jesper Juhl | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
