From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) by sourceware.org (Postfix) with ESMTPS id 43743385E82C for ; Mon, 16 Mar 2020 17:08:51 +0000 (GMT) X-ASG-Debug-ID: 1584378530-0c856e18f3b31cb0001-fS2M51 Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id SnrTGBNIMHYKvhrh (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Mar 2020 13:08:50 -0400 (EDT) X-Barracuda-Envelope-From: simon.marchi@polymtl.ca X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from simark.lan (unknown [192.222.164.54]) by smtp.ebox.ca (Postfix) with ESMTP id 412A0441B21; Mon, 16 Mar 2020 13:08:50 -0400 (EDT) From: Simon Marchi X-Barracuda-Effective-Source-IP: 192-222-164-54.qc.cable.ebox.net[192.222.164.54] X-Barracuda-Apparent-Source-IP: 192.222.164.54 X-Barracuda-RBL-IP: 192.222.164.54 To: gdb-patches@sourceware.org Cc: Eli Zaretskii , Jon Turney , Simon Marchi Subject: [PATCH 4/7] gdb: rename i386-cygwin-tdep.c to i386-windows-tdep.c Date: Mon, 16 Mar 2020 13:08:42 -0400 X-ASG-Orig-Subj: [PATCH 4/7] gdb: rename i386-cygwin-tdep.c to i386-windows-tdep.c Message-Id: <20200316170845.184386-5-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200316170845.184386-1-simon.marchi@polymtl.ca> References: <20200316170845.184386-1-simon.marchi@polymtl.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1584378530 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 2902 X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80637 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-23.5 required=5.0 tests=GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_QUARANTINE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_SOFTFAIL autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 17:08:52 -0000 From: Simon Marchi Since this file contains things that apply not only to Cygwin binaries, but also to non-Cygwin Windows binaries, I think it would make more sense for it to be called i386-windows-tdep.c. It is analogous to amd64-windows-tdep.c, which we already have. gdb/ChangeLog: * i386-cygwin-tdep.c: Rename to... * i386-windows-tdep.c: ... this. * Makefile.in (ALL_TARGET_OBS): Rename i386-cygwin-tdep.c to i386-windows-tdep.c. * configure.tgt: Likewise. --- gdb/Makefile.in | 4 ++-- gdb/configure.tgt | 6 +++--- gdb/{i386-cygwin-tdep.c => i386-windows-tdep.c} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename gdb/{i386-cygwin-tdep.c => i386-windows-tdep.c} (100%) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 1db02c07ac28..d225b7d76679 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -733,7 +733,6 @@ ALL_TARGET_OBS = \ hppa-obsd-tdep.o \ hppa-tdep.o \ i386-bsd-tdep.o \ - i386-cygwin-tdep.o \ i386-darwin-tdep.o \ i386-dicos-tdep.o \ i386-fbsd-tdep.o \ @@ -745,6 +744,7 @@ ALL_TARGET_OBS = \ i386-obsd-tdep.o \ i386-sol2-tdep.o \ i386-tdep.o \ + i386-windows-tdep.o \ i387-tdep.o \ iq2000-tdep.o \ linux-record.o \ @@ -2161,7 +2161,6 @@ ALLDEPFILES = \ hppa-tdep.c \ i386-bsd-nat.c \ i386-bsd-tdep.c \ - i386-cygwin-tdep.c \ i386-darwin-nat.c \ i386-darwin-tdep.c \ i386-dicos-tdep.c \ @@ -2178,6 +2177,7 @@ ALLDEPFILES = \ i386-sol2-nat.c \ i386-sol2-tdep.c \ i386-tdep.c \ + i386-windows-tdep.c \ i387-tdep.c \ ia64-libunwind-tdep.c \ ia64-linux-nat.c \ diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 6ebd32410e99..34f703009eaa 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -304,11 +304,11 @@ i[34567]86-*-gnu*) ;; i[34567]86-*-cygwin*) # Target: Intel 386 running win32 - gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o" + gdb_target_obs="i386-windows-tdep.o windows-tdep.o" ;; i[34567]86-*-mingw32*) # Target: Intel 386 running win32 - gdb_target_obs="i386-cygwin-tdep.o windows-tdep.o" + gdb_target_obs="i386-windows-tdep.o windows-tdep.o" ;; i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*) # Target: i386 running DJGPP/go32. @@ -730,7 +730,7 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) x86_64-*-mingw* | x86_64-*-cygwin*) # Target: MingW/amd64 gdb_target_obs="amd64-windows-tdep.o \ - ${i386_tobjs} i386-cygwin-tdep.o \ + ${i386_tobjs} i386-windows-tdep.o \ windows-tdep.o" ;; x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-windows-tdep.c similarity index 100% rename from gdb/i386-cygwin-tdep.c rename to gdb/i386-windows-tdep.c -- 2.25.1