2003-06-05 Michal Ludvig <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_push_arguments): Don't clear offset
	in each pass.
This commit is contained in:
Michal Ludvig 2003-06-05 18:54:34 +00:00
parent d4ea8842ef
commit 6b53acc622
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-05 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_push_arguments): Don't clear offset
in each pass.
2003-06-05 Jeff Johnston <jjohnstn@redhat.com> 2003-06-05 Jeff Johnston <jjohnstn@redhat.com>
* thread-db.c (check_event): For create/death event breakpoints, * thread-db.c (check_event): For create/death event breakpoints,

View File

@ -623,9 +623,9 @@ x86_64_push_arguments (struct regcache *regcache, int nargs,
else else
{ {
int j; int j;
int offset = 0;
for (j = 0; j < n; j++) for (j = 0; j < n; j++)
{ {
int offset = 0;
switch (class[j]) switch (class[j])
{ {
case X86_64_NO_CLASS: case X86_64_NO_CLASS: