This bug can also be reproduced without systemtap. Simple demo attached.
Usage (on i386):
% gcc-4.0 -g -mregparm=2 -O2 driver.c 1.c
% gdb ./a.out
GNU gdb 6.4.90-debian
...cut...
(gdb) br sys_open
Breakpoint 1 at 0x8048363: file 1.c, line 5.
(gdb) run
Starting program: /tmp/out/a.out
Breakpoint 1,
Package: gcc-4.0
Version: 4.0.3-1
Severity: normal
Linux kernels compiled with gcc 4.0.3 have invalid debuging information.
More information on this issue and how to verify this error can be
obtained in bug #378621. I'll also have to use gcc 4.0.3 to compile a
kernel with CONFIG_DEBUG_INFO, CON
2 matches
Mail list logo