[PATCH v8] Add pretty printers for the NPTL lock types
Pedro Alves
palves@redhat.com
Fri Jun 24 22:31:00 GMT 2016
On 06/24/2016 11:04 PM, Martin Galvan wrote:
> Pedro: In our case we need gdb to automatically load the pretty printers
> before doing any testing, which is why I suggested placing a few lines
> in .gdbinit to do so. There's probably a better way to do it (perhaps
> manually copying the printers to some special path gdb can auto-load
> from?), but I thought it was good enough for testing.
You want to test the printers in the source tree, not the system
one's right? At least by default.
How about:
- add whatever lines those are to a gdb script that lives along
side the tests.
- have the harness start gdb with:
gdb -nx -ix /path/to/that/script
No need to manually tweak ~/.gdbinit that way.
Thanks,
Pedro Alves
More information about the Libc-alpha
mailing list