OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d07ff8
)
* i386-linux-nat.c (fill_gregset): Remove redundant parentheses.
author
kettenis
<kettenis>
Sat, 15 Jun 2002 14:03:09 +0000
(14:03 +0000)
committer
kettenis
<kettenis>
Sat, 15 Jun 2002 14:03:09 +0000
(14:03 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/i386-linux-nat.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
69f9f55
..
a200ff6
100644
(file)
--- 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
(file)
--- 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)