From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7825) id D3FC83858D28; Wed, 25 Jan 2023 12:42:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3FC83858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674650538; bh=92CXaFjAjb26ZNMQ1+5xVmX3R/E98h4L30ciCxeU6l0=; h=From:To:Subject:Date:From; b=Kqm+BFSiDnBMbYPZWhOyHROHEgizBwTpQTOtNpn34sjhu0FcYE3CDiNqpilJvFTvL 5Jr+1khxd6+BI3vkhsgQzHFQhB9Ne6qmlcqulfN1xxjQ1Kz7+zdtYe/cuXPeS0EkcJ 4FvUF/GCilO3MwO7fYx71rdIVwHDWTEMA4CVuFsU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Felix Willgerodt To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb, i386: Update stale comment in i386-tdep.h. X-Act-Checkin: binutils-gdb X-Git-Author: Felix Willgerodt X-Git-Refname: refs/heads/master X-Git-Oldrev: ebef88edb6474fa9568123645b6762bcd6872702 X-Git-Newrev: 1b2fb35d5920fc27624823de92c30d346161058e Message-Id: <20230125124218.D3FC83858D28@sourceware.org> Date: Wed, 25 Jan 2023 12:42:18 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1b2fb35d5920= fc27624823de92c30d346161058e commit 1b2fb35d5920fc27624823de92c30d346161058e Author: Felix Willgerodt Date: Thu Jul 14 16:26:16 2022 +0200 gdb, i386: Update stale comment in i386-tdep.h. =20 The comment seems no longer valid, the functions technically check for non-pseudo registers, like zmmh. Which is a valid use case. Diff: --- gdb/i386-tdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 82de5faa988..371bce72369 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -353,7 +353,7 @@ enum record_i386_regnum /* Types for i386-specific registers. */ extern struct type *i387_ext_type (struct gdbarch *gdbarch); =20 -/* Checks of different pseudo-registers. */ +/* Checks of different registers. */ extern int i386_byte_regnum_p (struct gdbarch *gdbarch, int regnum); extern int i386_word_regnum_p (struct gdbarch *gdbarch, int regnum); extern int i386_dword_regnum_p (struct gdbarch *gdbarch, int regnum);