Commit Graph

  • ed1e466886 debug.print_type_tree: don't unify types with different type codes Pierre-Marie de Rodat 2017-07-02 19:35:18 +02:00
  • f348852818 Add a testcase for string accesses Pierre-Marie de Rodat 2017-07-02 12:18:54 +02:00
  • c7fa41cf7b Make string access handling code independent of pretty-printing code Pierre-Marie de Rodat 2017-07-02 12:17:33 +02:00
  • 517912d8e8 Add an (hopefully) exhaustive testcase for unbounded strings Pierre-Marie de Rodat 2017-07-02 11:52:44 +02:00
  • ef6f58051a .gitignore: add gnatpython Pierre-Marie de Rodat 2017-07-02 11:48:07 +02:00
  • 4e6363f96d Make Unbounded_String handling code indendent of pretty-pritning code Pierre-Marie de Rodat 2017-07-02 11:46:26 +02:00
  • f93203831b Testsuite: report Python errors when importing gnatdbg Pierre-Marie de Rodat 2017-07-02 11:33:35 +02:00
  • 513522a55a Isolate the printing in PrintGDBTypeTreeCommand Pierre-Marie de Rodat 2017-07-02 11:26:43 +02:00
  • 02553f0ccd Add a testcase for PrintGDBTypeTreeCommand Pierre-Marie de Rodat 2017-07-02 10:53:40 +02:00
  • a572428c58 Testsuite: add code coverage computation for gnatdbg Pierre-Marie de Rodat 2017-07-01 22:24:14 +02:00
  • f138214349 Remove the "generics" command Pierre-Marie de Rodat 2017-07-01 21:30:07 +02:00
  • 07712d4271 Add a minimal testsuite Pierre-Marie de Rodat 2017-07-01 19:28:52 +02:00
  • 6cb339cd14 README.md: explain how to use pretty-printers Pierre-Marie de Rodat 2017-03-16 16:37:35 +01:00
  • 83cb94cd35 Move gnatdbg.utils.PrettyPrinter to gnatdbg.printers Pierre-Marie de Rodat 2017-03-14 18:00:59 +01:00
  • 4e81e3edfa Add comments to document the matching machinery Pierre-Marie de Rodat 2017-03-14 17:53:31 +01:00
  • 6a69c9274a README.md: simplify install instructions Pierre-Marie de Rodat 2017-03-14 16:06:23 +01:00
  • 21a3015581 Add a LICENSE file Pierre-Marie de Rodat 2017-03-14 15:58:23 +01:00
  • 5c37f68ba8 Fix PEP8 issues Pierre-Marie de Rodat 2017-03-14 15:53:55 +01:00
  • 9b20d2f7d7 Add a PEP8 configuration file Pierre-Marie de Rodat 2017-03-14 15:52:20 +01:00
  • 7896f641a6 hash_tables/red_black_trees: add module-level docstrings Pierre-Marie de Rodat 2017-03-14 15:46:48 +01:00
  • fda08972de generics: remove usage string duplication Pierre-Marie de Rodat 2017-03-14 15:45:55 +01:00
  • 10a0462e6c hash_tables: simplify iteration for null htable values Pierre-Marie de Rodat 2017-03-14 15:32:19 +01:00
  • c94d177a11 Make utils.coerce_array handle null fat pointers Pierre-Marie de Rodat 2017-03-14 15:25:36 +01:00
  • 20d98a279d debug: minor docstring rewording Pierre-Marie de Rodat 2017-03-14 15:14:10 +01:00
  • 8b546bc282 debug: move "itertools" import to the top of the module Pierre-Marie de Rodat 2017-03-14 15:13:22 +01:00
  • 8a846dfe2b generics.Match.Pointer: fix a typo Pierre-Marie de Rodat 2017-03-14 15:12:24 +01:00
  • a2d58f6b21 utils: move fat pointer processing to a new coerce_array function Pierre-Marie de Rodat 2017-03-14 15:02:13 +01:00
  • 4399e64109 utils: remove the typedef layer peeling in fat pointer decoding Pierre-Marie de Rodat 2017-03-14 15:01:38 +01:00
  • 5661404730 Remove the typedef layer in the hashed map type pattern Pierre-Marie de Rodat 2017-03-14 15:00:37 +01:00
  • 4c49134e30 generics: move gdb_code_names to utils Pierre-Marie de Rodat 2017-03-14 14:59:37 +01:00
  • 853f1be488 Remove typedef layers for ordered maps/sets type patterns Pierre-Marie de Rodat 2017-03-14 12:32:51 +01:00
  • 24a7e7982e Generics: add a tracing framework for the type pattern matching engine Pierre-Marie de Rodat 2017-03-14 12:29:46 +01:00
  • ccb0d6808b Add a pretty-printer for all string accesses Pierre-Marie de Rodat 2017-03-13 16:42:06 +01:00
  • a4265eec66 Rename "gnatdbg.unbounded_strings" to "gnatdbg.strings" Pierre-Marie de Rodat 2017-03-13 16:40:49 +01:00
  • 6f9aa0d62f Generics: make it possible to match character types Pierre-Marie de Rodat 2017-03-13 16:37:46 +01:00
  • 30ef40906c Rename the "gnat_runtime" package into "gnatdbg" Pierre-Marie de Rodat 2017-03-13 16:27:32 +01:00
  • a3e00ae3b7 Make it more convenient to register pretty printers Pierre-Marie de Rodat 2015-10-22 09:27:48 -04:00
  • fe011ae144 Update type matchers after recent changes in GNAT's containers Pierre-Marie de Rodat 2015-10-22 09:26:19 -04:00
  • e32c37a28c Handle corrupted lists Pierre-Marie de Rodat 2015-04-15 14:43:32 +02:00
  • 48530b4b3d Handle corrupted vectors Pierre-Marie de Rodat 2015-04-15 14:43:26 +02:00
  • bf5e783456 Make it possible to setup pretty-printers while debugging Pierre-Marie de Rodat 2015-04-14 16:41:06 +02:00
  • 9a946b54ad Handle corrupted unbounded strings Pierre-Marie de Rodat 2015-04-14 15:13:13 +02:00
  • 740ba5bbb7 Lists: display lists as arrays Pierre-Marie de Rodat 2015-01-30 11:07:48 +01:00
  • 17507e9122 Printers: refactor matching to strip type name suffixes and for failover Pierre-Marie de Rodat 2015-01-30 10:44:01 +01:00
  • 332e723731 Generics: do not consider artificial struct. fields for pattern matching Pierre-Marie de Rodat 2015-01-30 10:41:03 +01:00
  • a381acfb9c Move type name suffix stripping logic a helper in gnat_runtime.utils Pierre-Marie de Rodat 2015-01-30 10:40:13 +01:00
  • 6e80bb3758 Fix the setup procedure to load pretty-printers on demand Pierre-Marie de Rodat 2015-01-19 15:21:26 +01:00
  • be2ac5fb4f Add a pretty-printer for Ada.Containers.Doubly_Linked_Lists Pierre-Marie de Rodat 2015-01-10 18:23:55 +01:00
  • 5553f018e3 Generics: ignore name suffixes for body-nested package entities Pierre-Marie de Rodat 2015-01-10 18:03:40 +01:00
  • 88bbc98b0c Add a README Pierre-Marie de Rodat 2015-01-10 17:39:19 +01:00
  • fffc84ed0c Register pretty-printers in progspaces instead of in objfiles Pierre-Marie de Rodat 2015-01-10 17:05:10 +01:00
  • 5c39403e95 Add a debug helper for pretty-printers development Pierre-Marie de Rodat 2015-01-10 17:02:21 +01:00
  • cdba394994 Add pretty-printers for container's cursors Pierre-Marie de Rodat 2015-01-10 16:57:55 +01:00
  • 965be8aa15 Sets: fix typos Pierre-Marie de Rodat 2015-01-10 16:57:28 +01:00
  • c133685688 Introduce pattern matching to automatically detect generic instantiations Pierre-Marie de Rodat 2015-01-09 18:08:34 +01:00
  • 356762b1cb Vectors: fix computation of the index of the last element Pierre-Marie de Rodat 2015-01-09 18:04:07 +01:00
  • 93036728a5 Generics: move the command to a dedicated module Pierre-Marie de Rodat 2015-01-09 16:48:56 +01:00
  • d8db8ea396 Add a pretty-printer for Ada.Containers.Hashed_Sets Pierre-Marie de Rodat 2015-01-09 16:43:42 +01:00
  • 611cc8959a Add a pretty-printer for Ada.Containers.Hashed_Maps Pierre-Marie de Rodat 2015-01-09 16:38:14 +01:00
  • bcbebebda7 Add a pretty-printer for Ada.Containers.Ordered_Sets Pierre-Marie de Rodat 2015-01-09 13:09:48 +01:00
  • 91950e6f11 Add a pretty-printer for Ada.Containers.Ordered_Maps Pierre-Marie de Rodat 2015-01-09 13:04:05 +01:00
  • 281d617367 Pretty-printers: adjust to integrate with enabling/disabling GDB features Pierre-Marie de Rodat 2015-01-09 12:14:17 +01:00
  • ad0a31dcc6 Add a .gitignore Pierre-Marie de Rodat 2015-01-09 10:45:07 +01:00
  • 8055245952 Reorganize code into Python packages Pierre-Marie de Rodat 2015-01-09 10:44:57 +01:00
  • 6f61fca2f9 Add documentation for the "generics" command Pierre-Marie de Rodat 2015-01-08 19:20:15 +01:00
  • 7fcc656253 Initial commit Pierre-Marie de Rodat 2015-01-08 18:09:50 +01:00