aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-06-05 18:54:34 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-06-05 18:54:34 +0000
commit6b53acc622fc79a6b2f5519ea2e9f3c89e966f8a (patch)
tree469627bf3002c31743d57efda0e4b73ca87893b6 /gdb/x86-64-tdep.c
parentd4ea8842ef11bd2e24dd25c330b3bf68a66b6938 (diff)
downloadgdb-6b53acc622fc79a6b2f5519ea2e9f3c89e966f8a.zip
gdb-6b53acc622fc79a6b2f5519ea2e9f3c89e966f8a.tar.gz
gdb-6b53acc622fc79a6b2f5519ea2e9f3c89e966f8a.tar.bz2
2003-06-05 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_push_arguments): Don't clear offset in each pass.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index f01be3d..88575d5 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -623,9 +623,9 @@ x86_64_push_arguments (struct regcache *regcache, int nargs,
else
{
int j;
+ int offset = 0;
for (j = 0; j < n; j++)
{
- int offset = 0;
switch (class[j])
{
case X86_64_NO_CLASS: