From 6a65450a7c2eb58268a274726106cf8b1ca0aaa9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 31 May 2003 14:20:31 +0000 Subject: 2003-05-31 Andrew Cagney * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename "dummy_addr" to "bp_addr". * infcall.c (call_function_by_hand): Pass "funaddr" to gdbarch_push_dummy_call. * gdbarch.h, gdbarch.c: Re-generate. * i386-tdep.c (i386_push_dummy_call): Update. * arm-tdep.c (arm_push_dummy_call): Update. * d10v-tdep.c (d10v_push_dummy_call): Update. --- gdb/gdbarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gdbarch.c') diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 976ce59..8bf2c32 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4264,7 +4264,7 @@ gdbarch_push_dummy_call_p (struct gdbarch *gdbarch) } CORE_ADDR -gdbarch_push_dummy_call (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR dummy_addr, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr) +gdbarch_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr) { gdb_assert (gdbarch != NULL); if (gdbarch->push_dummy_call == 0) @@ -4272,7 +4272,7 @@ gdbarch_push_dummy_call (struct gdbarch *gdbarch, struct regcache *regcache, COR "gdbarch: gdbarch_push_dummy_call invalid"); if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_push_dummy_call called\n"); - return gdbarch->push_dummy_call (gdbarch, regcache, dummy_addr, nargs, args, sp, struct_return, struct_addr); + return gdbarch->push_dummy_call (gdbarch, func_addr, regcache, bp_addr, nargs, args, sp, struct_return, struct_addr); } void -- cgit v1.1