aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-15 14:03:10 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-15 14:03:10 +0000
commit099a94140a8ba8764769c824d9115d2635eb6ae2 (patch)
tree2b239a895a44e5295ff2a69eac93093f1df19204 /gdb
parent57976e88bbafe10f03ca4845b5c7189f5f0d5262 (diff)
downloadgdb-099a94140a8ba8764769c824d9115d2635eb6ae2.zip
gdb-099a94140a8ba8764769c824d9115d2635eb6ae2.tar.gz
gdb-099a94140a8ba8764769c824d9115d2635eb6ae2.tar.bz2
* i386-linux-nat.c (fill_gregset): Remove redundant parentheses.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/i386-linux-nat.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 69f9f55..a200ff6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2002-06-15 Mark Kettenis <kettenis@gnu.org>
+ * i386-linux-nat.c (fill_gregset): Remove redundant parentheses.
+
* i386bsd-nat.c: Include "i386-tdep.h".
(supply_gregset, fill_gregset): Replace usage of NUM_GREGS with
I386_NUM_GREGS.
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 26f5aaf..aecca1d 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -329,7 +329,7 @@ fill_gregset (elf_gregset_t *gregsetp, int regno)
int i;
for (i = 0; i < NUM_GREGS; i++)
- if ((regno == -1 || regno == i))
+ if (regno == -1 || regno == i)
regcache_collect (i, regp + regmap[i]);
if ((regno == -1 || regno == I386_LINUX_ORIG_EAX_REGNUM)