longld/peda — pull request #32 by zachriggle (2014-07-04 06:38:02+00:00)
Title: Arm ppc

Added registers for ARM and PPC, in addition to breaking some other functionality (EFLAGS, bufferizing) which weren't playing nicely.

This was mostly just a hack for Boston Key Party, but I feel like sharing back.

The buffering seems to cause PEDA output to be completely silenced. Some combination of removing the bufferize annotations, and killing its functionality fix this. This is on a Debian Wheezy version of GDB, as well as a custom-compiled bleeding edge version (since Ubuntu ship with a python3 version, I had to build my own).

I did't investigate why the EFLAGS code causes the context command to break, I just nuked it since things worked afterward.

Note that I have not tested any of the functionality of PEDA on ARM or PPC outside of the context commands.