Print more information in arm_dump_tdep
authorChristian Biesinger <cbiesinger@google.com>
Wed, 12 Feb 2020 22:28:48 +0000 (16:28 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 12 Feb 2020 22:28:48 +0000 (16:28 -0600)
I am keeping the (int) casts because a future patch will change the type
to bool.

gdb/ChangeLog:

2020-02-12  Christian Biesinger  <cbiesinger@google.com>

* arm-tdep.c (arm_dump_tdep): Print more fields of tdep.

gdb/ChangeLog
gdb/arm-tdep.c

index 5d6fb9d5e66c268cccf0ed6e43b8090100beb60a..c603987521ea222b1cfd62da4a0a36262fce3ec8 100644 (file)
@@ -1,3 +1,7 @@
+2020-02-12  Christian Biesinger  <cbiesinger@google.com>
+
+       * arm-tdep.c (arm_dump_tdep): Print more fields of tdep.
+
 2020-02-12  Tom Tromey  <tom@tromey.com>
 
        * dwarf2/loc.c (struct dwarf_expr_baton): Remove.
index cfe128bad25d922c858b17b6d76edfab8b1c7e26..aa26e6a48ee9eba3eeba4084bba29b7924822eb0 100644 (file)
@@ -9468,6 +9468,20 @@ arm_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
   if (tdep == NULL)
     return;
 
+  fprintf_unfiltered (file, _("arm_dump_tdep: fp_model = %i\n"),
+                     (int) tdep->fp_model);
+  fprintf_unfiltered (file, _("arm_dump_tdep: have_fpa_registers = %i\n"),
+                     (int) tdep->have_fpa_registers);
+  fprintf_unfiltered (file, _("arm_dump_tdep: have_wmmx_registers = %i\n"),
+                     (int) tdep->have_wmmx_registers);
+  fprintf_unfiltered (file, _("arm_dump_tdep: vfp_register_count = %i\n"),
+                     (int) tdep->vfp_register_count);
+  fprintf_unfiltered (file, _("arm_dump_tdep: have_vfp_pseudos = %i\n"),
+                     (int) tdep->have_vfp_pseudos);
+  fprintf_unfiltered (file, _("arm_dump_tdep: have_neon_pseudos = %i\n"),
+                     (int) tdep->have_neon_pseudos);
+  fprintf_unfiltered (file, _("arm_dump_tdep: have_neon = %i\n"),
+                     (int) tdep->have_neon);
   fprintf_unfiltered (file, _("arm_dump_tdep: Lowest pc = 0x%lx\n"),
                      (unsigned long) tdep->lowest_pc);
 }
This page took 0.030466 seconds and 4 git commands to generate.