[PATCH] solib-svr4: Avoid unwanted shlib internal BPs When debugging Linux kernel or u-boot

Jan Kratochvil jan.kratochvil@redhat.com
Fri Jun 1 18:07:00 GMT 2012


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



More information about the Gdb-patches mailing list