From 6b53acc622fc79a6b2f5519ea2e9f3c89e966f8a Mon Sep 17 00:00:00 2001 From: Michal Ludvig Date: Thu, 5 Jun 2003 18:54:34 +0000 Subject: [PATCH] 2003-06-05 Michal Ludvig * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset in each pass. --- gdb/ChangeLog | 5 +++++ gdb/x86-64-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8edabec505..8c9481685e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-05 Michal Ludvig + + * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset + in each pass. + 2003-06-05 Jeff Johnston * thread-db.c (check_event): For create/death event breakpoints, diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index f01be3dd62a..88575d56725 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: -- 2.30.2