From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27159 invoked by alias); 13 Aug 2014 09:56:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 27139 invoked by uid 89); 13 Aug 2014 09:56:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 13 Aug 2014 09:56:28 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7D9uQnA029068 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Aug 2014 05:56:26 -0400 Received: from blade.nx (ovpn-116-116.ams2.redhat.com [10.36.116.116]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7D9uP58000531; Wed, 13 Aug 2014 05:56:25 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id 94C9E2640E7; Wed, 13 Aug 2014 10:56:24 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Cc: Doug Evans , Pedro Alves Subject: [PATCH 0/5 v7] Common code cleanups (first four, and one new) Date: Wed, 13 Aug 2014 09:56:00 -0000 Message-Id: <1407923779-22149-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00214.txt.bz2 Hi all, This series contains updated versions of the first four common cleanups patches I last posted Monday, and a new patch to deal with issues regarding the debug_hw_points flag. Patches 1-3 are unchanged from their previous versions. The debug_hw_points code was moved from patch 4 into patch 5. Patch 4 now contains only the new functions debug_printf and debug_vprintf. It is otherwise unchanged from the previous version. Patch 5 is a new patch. gdbserver has a flag, debug_hw_points, that switches on some debug printing in the x86 and AArch64 Linux ports. GDB's x86 and AArch64 Linux also define debug_hw_points, with identical meaning, accessed via "maint set/show show-debug-regs". GDB's Linux MIPS port also has "maint set/show show-debug-regs", but there the variable is called maint_show_dr. In some ports the flag is static to one file, in other ports and in gdbserver it is global. Patch 5 defines one global for this, show_debug_regs, in common-debug.h. All other definitions are removed, and all ports are modified to use the new global. Is this ok to commit? Doug, if patches 1-4 are ok please let me know (regardless of the status of 5) so I can commit them. (If all five are ok then great!) Thanks, Gary -- http://gbenson.net/