This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] solib-svr4: Avoid unwanted shlib internal BPs When debugging Linux kernel or u-boot
On Fri, 01 Jun 2012 19:22:14 +0200, Jan Kratochvil wrote:
> OTOH one has to strip _start to make it a regression as with _start GDB did not
> catch startup libraries even before.
Forgot the reproducer compilation commandline:
C="$HOME/redhat/gcc47-static-root/bin/g++ -Wall";$C -o 53l.so 53l.C -shared -fPIC;$C -o 53 53.C -static -ldl;objcopy -N _dl_debug_state -N _start 53
Regards,
Jan