This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v8] Add pretty printers for the NPTL lock types


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?

On Fri, Jun 24, 2016 at 1:51 PM, Siddhesh Poyarekar
<siddhesh@sourceware.org> wrote:
> On Fri, Jun 24, 2016 at 01:14:45PM -0300, Martin Galvan wrote:
>> Sid, could you please tell me which command are you using to check the
>> libraries, so I'm sure we're on the same page?
>
> ps aux | grep <test case name> to give me the pid ($PID) for the
> inferior and then `cat /proc/$PID/maps`.
>
> Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]