This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING][PATCH v3] Add pretty printers for the NPTL lock types
- From: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: libc-alpha at sourceware dot org, Tom Tromey <tom at tromey dot com>, "Carlos O'Donell" <carlos at redhat dot com>, Pedro Alves <palves at redhat dot com>, vapier at gentoo dot org, Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- Date: Tue, 24 Nov 2015 15:04:30 -0300
- Subject: Re: [PING][PATCH v3] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <1447451408-3050-1-git-send-email-martin dot galvan at tallertechnologies dot com> <1447871395 dot 25500 dot 81 dot camel at localhost dot localdomain> <CAOKbPbajtscrEL53RPMB-YkLgUYzb01_EAS0nABqEUaspi2j2Q at mail dot gmail dot com> <1447977835 dot 25500 dot 119 dot camel at localhost dot localdomain> <CAOKbPbZmzaQkQdK8Bnh23uawVypjaje_o1og9rc4zoVU_mKZog at mail dot gmail dot com> <1448387748 dot 25500 dot 199 dot camel at localhost dot localdomain>
On Tue, Nov 24, 2015 at 2:55 PM, Torvald Riegel <triegel@redhat.com> wrote:
> I mean as a replacement for gdb, something like a small piece of code
> that can pretend to be gdb and call the pretty printers. Maybe stub is
> the wrong word; I was thinking about something like a unit test thingy.
> But I don't know whether that would actually be small, or whether it
> would be easier to just test through gdb.
I think it would be way easier to test through gdb, even if it means
using DejaGNU.
If everyone's ok with the rest of the patch we'll get to work on a
small set of test cases that exercise the pretty printers in a few
select scenarios. I hope that's the last addition we need to get this
merged.