On 2018/02/09 21:23, Pascal Stumpf wrote:
> This updates GDB to the latest version, 8.1. Tested on amd64, i386,
> armv7 and hppa.
It's not new with the update, but the port needs a
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gdb/python
and regen PLIST, otherwise when run as root it generates pyc files
and so pkg_delete doesn't work:
Error deleting directory /usr/local/share/gdb/python/gdb/printer: Directory not
empty
Error deleting directory /usr/local/share/gdb/python/gdb/function: Directory
not empty
Error deleting directory /usr/local/share/gdb/python/gdb/command: Directory not
empty
Error deleting directory /usr/local/share/gdb/python/gdb: Directory not empty
Error deleting directory /usr/local/share/gdb/python: Directory not empty
No problems seen here with a bit of use on amd64.