Re: Duel reloaded: Duel.py (and a PrettyPrinter decorator)
Sergei Golubchik <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Simon! > > Here it is: https://github.com/vuvova/gdb-tools > > > > This repository also includes a helper to simplify writing pretty > > printers. It removes all the boilerplate code that gdb requires, you > > only need to write the value-to-string function itself. > > I really like using an annotation for declaring a pretty printer. I > wonder if we could (legally-wise and technically-wise) steal that idea > :). For upstream gdb? As far as I'm concerned - yes, on both points :) Regards, Sergei Chief Architect MariaDB and [email protected]