Skip to content
forked from zholos/glm_pp

GDB pretty-printers for GLM

Notifications You must be signed in to change notification settings

jwueller/glm_pp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glm_pp

GDB pretty-printers for GLM.

Before:

(gdb) p pos
$1 = {{x = 5, r = 5, s = 5}, {y = 6, g = 6, t = 6}, {z = 7, b = 7, p = 7}}

After:

(gdb) p pos
$1 = ivec3(5, 6, 7)

User setup:

  • install glm_pp.py to any directory
  • add the contents of gdbinit to ~/.gdbinit, replacing .../glm_pp with that directory

System setup:

  • # make install (installs to the system GDB Python directory)
  • add python import glm_pp to ~/.gdbinit

Run make -C test for an example.

About

GDB pretty-printers for GLM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.6%
  • C++ 22.4%
  • Makefile 7.0%