From aeefc73cb2396dffb2e3cb0421ba02d5d671e4cf Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Wed, 12 Feb 2020 16:28:48 -0600 Subject: [PATCH] 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 * arm-tdep.c (arm_dump_tdep): Print more fields of tdep. --- gdb/ChangeLog | 4 ++++ gdb/arm-tdep.c | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d6fb9d5e66..c603987521e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-02-12 Christian Biesinger + + * arm-tdep.c (arm_dump_tdep): Print more fields of tdep. + 2020-02-12 Tom Tromey * dwarf2/loc.c (struct dwarf_expr_baton): Remove. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index cfe128bad25..aa26e6a48ee 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); } -- 2.30.2