Thibault Févry
a555469943
Fix typos in util/gdb
2013-08-24 19:34:22 +02:00
Thibault Févry
35ee1e6725
Strip trailing whitespaces.
...
Some other changes to make code look more pythonish. No important changes.
2011-10-21 23:42:46 +00:00
Thonsew
288f446fef
Changed wesnoth_gdb pretty printers...
...
...to correctly print the prefix and untranslated string for
t_strings. Previously it was only printing the prefix as the prefix
ends is zero terminated before the following untranslated string.
2011-09-29 15:55:17 +00:00
Thonsew
f1ab44d74b
Changed. In the wesnoth pretty printers I changed...
...
...the default number of levels of recursion when printing configs to
2. I also fixed printing of pointers to attribute_values.
2011-09-26 19:58:08 +00:00
Thonsew
917f373a75
Removed redundant line in wesnoth_gdb set_recursion_level
2011-09-21 21:44:44 +00:00
Thonsew
77baa9e323
Fixed attribute_value fake enum to match C++ code
...
Fixed t_interned printer to handle unititialized t_interens correctly
Changed the variable levels of recursion to better handle null
pointers and keep the correct level of recursion.
2011-09-20 21:21:15 +00:00
Thonsew
09268be31e
Added set_levels_of_recursion to pretty printers
...
Added help function to wesnoth_gdb for the pretty printers.
Usage from within gdb:
python wesnoth_gdb.help()
2011-09-16 19:30:08 +00:00
Thonsew
d61ec9668c
Updated pretty printers
...
1. Added import os for installations where it is not a default
2. Improved check for empty unordered_map
3. Moved strip_type to its own file
2011-09-16 12:28:30 +00:00
Thonsew
38c351d523
Created gdb pretty printers for wesnoth data types...
...
...t_interned, t_token, t_string, config and config::attribute_value.
Create pretty printers for boost::unordered_map.
2011-09-15 20:16:48 +00:00