]> git.eshelyaron.com Git - emacs.git/commit
Add debug facility for formatting in rr sessions
authorDaniel Colascione <dancol@dancol.org>
Sat, 9 Jun 2018 22:41:29 +0000 (15:41 -0700)
committerDaniel Colascione <dancol@dancol.org>
Sun, 10 Jun 2018 00:46:05 +0000 (17:46 -0700)
commitaaffae8458dcd774540e7e6b4219c8b5a9902075
treee2689ed60bdd3c76084ac59552d223d6b1f294e8
parent16015dea97b3b4da7ff66a7e822c3c26b2ab6d2b
Add debug facility for formatting in rr sessions

The existing debug print commands don't work in rr, since they touch
stderr. The new xfmt command just calls Fformat and doesn't touch the
stdio streams.

* src/.gdbinit:
(xfmt): New GDB command.

* src/print.c:
(debug_format): New function.
src/.gdbinit
src/print.c