aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2020-02-12 16:28:48 -0600
committerChristian Biesinger <cbiesinger@google.com>2020-02-12 16:28:48 -0600
commitaeefc73cb2396dffb2e3cb0421ba02d5d671e4cf (patch)
tree1b0a401052fddcdc3a035850566bf4cf1af021c5 /gdb
parentd27b8e5f14630b94c8c389773d2b8518af2cecc3 (diff)
downloadgdb-aeefc73cb2396dffb2e3cb0421ba02d5d671e4cf.zip
gdb-aeefc73cb2396dffb2e3cb0421ba02d5d671e4cf.tar.gz
gdb-aeefc73cb2396dffb2e3cb0421ba02d5d671e4cf.tar.bz2
Print more information in arm_dump_tdep
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/arm-tdep.c14
2 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5d6fb9d..c603987 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index cfe128b..aa26e6a 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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);
}