This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v8] Add pretty printers for the NPTL lock types
- From: Pedro Alves <palves at redhat dot com>
- To: Martin Galvan <martin dot galvan at tallertechnologies dot com>, Siddhesh Poyarekar <siddhesh at sourceware dot org>
- Cc: libc-alpha at sourceware dot org, "Carlos O'Donell" <carlos at redhat dot com>
- Date: Fri, 24 Jun 2016 22:52:43 +0100
- Subject: Re: [PATCH v8] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <20160608153304 dot 12910-1-martin dot galvan at tallertechnologies dot com> <20160608153841 dot GA8366 at devel dot intra dot reserved-bit dot com> <CAOKbPbZCbrfM=FRq6e7C3c8uXp9v+BODAoh6Qat7XRwOb5cEHA at mail dot gmail dot com> <20160619164448 dot GA5245 at devel dot intra dot reserved-bit dot com> <CAOKbPbYpRcwJ8QNSgvW9BxkOeTSBnWEGGFRMOY=RSzoK6k1-Bw at mail dot gmail dot com> <20160620041246 dot GB5245 at devel dot intra dot reserved-bit dot com> <CAOKbPbZknCcBGozK_v8SC=PyJdczwr7ss6Y1y1hs2x8ag7cpxA at mail dot gmail dot com> <20160623164003 dot GC17911 at devel dot intra dot reserved-bit dot com> <CAOKbPbbp=-3XgwogxN90EGZxOPjiT_hkEWnaMuB4uz5Ox-njPw at mail dot gmail dot com> <20160624165111 dot GD30229 at devel dot intra dot reserved-bit dot com> <CAOKbPbZk8ONZ8pRMbFV72ek0p6=wk1GRZKF_2RCpz4LmnYt_zw at mail dot gmail dot com>
On 06/24/2016 07:10 PM, Martin Galvan wrote:
> That's odd, I'm still seeing the built libraries, both with gdb 7.7
> and the mainline:
>
> $ cat /proc/${PID}/maps | tr -s ' ' | cut -d' ' -f6 | uniq | awk NF
> /home/martin/glibc/build/pretty-printers/test-mutex-printer
> /home/martin/glibc/install/lib/libc-2.23.90.so
> /home/martin/glibc/install/lib/libpthread-2.23.90.so
> /home/martin/glibc/install/lib/ld-2.23.90.so
> [vdso]
> /home/martin/glibc/install/lib/ld-2.23.90.so
> [stack]
> [vsyscall]
>
> Just in case, do you have anything special in your .gdbinit that may
> be causing the issue?
Why not start gdb with "gdb -nx" in order to avoid .gdbinit
ever being an issue?
Thanks,
Pedro Alves