From patchwork Tue Feb 11 17:04:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 37975 Received: (qmail 12169 invoked by alias); 11 Feb 2020 17:04:14 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 12133 invoked by uid 89); 11 Feb 2020 17:04:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-vs1-f74.google.com Received: from mail-vs1-f74.google.com (HELO mail-vs1-f74.google.com) (209.85.217.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Feb 2020 17:04:12 +0000 Received: by mail-vs1-f74.google.com with SMTP id f15so810948vsk.21 for ; Tue, 11 Feb 2020 09:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=jBwvEb4rdGLYMT8qQDqRHKhzSw3hL3aacpLRLdY9v0k=; b=UtT17KcVG7zqS/LLKFVar+bF8uLfBtZsAlQbPbP/Bp8/J2Dz1vm1QumhePHn3XW0/1 QnEhguTCvHRZ4RrUomeDFCWHYxtnJvkKwbGOXjBQqHjiJaH9b7XACYmw4TNwmidyg2tj +hZ4w8bq8cMVDUlLS5anElUnR2jBjx9pAnfZ1fs5VOzAPP/aYdHfaZzzbmssW7joZ8gv 8C9yJBwCIPbp+hMhkaEFmDWJoOnSd+WGgX58BwbxjUZsEy6Rg+XVMpHqKm8dZ9ZyvgA4 NsZ5zbsAUKSow7dJTgcC5M5JliRh4+UMovvTvM8Z6i8kgucvkhbJu7vZDfV6OD6zfj3c Tq5Q== Date: Tue, 11 Feb 2020 11:04:05 -0600 Message-Id: <20200211170405.149870-1-cbiesinger@google.com> Mime-Version: 1.0 Subject: [PATCH 1/2] Print more information in arm_dump_tdep X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger X-IsSubscribed: yes I am keeping the (int) casts because a future patch will change the type to bool. gdb/ChangeLog: 2020-02-11 Christian Biesinger * arm-tdep.c (arm_dump_tdep): Print more fields of tdep. --- gdb/arm-tdep.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index cfe128bad2..aa26e6a48e 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); }