From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27520 invoked by alias); 17 Jun 2014 14:13:27 -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 27506 invoked by uid 89); 17 Jun 2014 14:13:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_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 ESMTP; Tue, 17 Jun 2014 14:13:06 +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 s5HED5m8027942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 17 Jun 2014 10:13:05 -0400 Received: from blade.nx (ovpn-116-59.ams2.redhat.com [10.36.116.59]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5HED4b3018269 for ; Tue, 17 Jun 2014 10:13:05 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id D58F62623F8 for ; Tue, 17 Jun 2014 15:13:03 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 00/15] Refactor shared code in i386-{nat,low}.[ch] Date: Tue, 17 Jun 2014 14:13:00 -0000 Message-Id: <1403014378-4349-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00586.txt.bz2 Hi all, This series refactors the shared code in i386-{nat,low}.[ch] into a pair of new files, nat/i386-dregs.[ch]. The patches are in two groups. Group 1 removes the changes between the various files so that the code to be shared is identical: 1/15 - Whitespace changes 2/15 - Remove unnecessary prototypes 3/15 - Remove unused macro 4/15 - Comment changes 5/15 - Add a const 6/15 - Merge printing code 7/15 - Merge error handling 8/15 - Rename maint_show_dr to debug_hw_points 9/15 - Merge i386_update_inferior_debug_regs 10/15 - Abstract i386_dr_low access Group 2 moves all that identical code into the new files: 11/15 - Rename functions and make nonstatic as necessary 12/15 - Create nat/i386-dregs.h 13/15 - Move macros from i386-{nat,low}.c to i386-{nat,low}.h 14/15 - Create nat/i386-dregs.c 15/15 - Buildsystem changes Is this ok to commit? Thanks, Gary -- http://gbenson.net/