aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-31 16:57:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-31 16:57:30 +0000
commitfaaf634c109b5b97c2a51a9a0ef5ecdc596b270a (patch)
treec25622fbaa549331a00a1a9ca599eead749a653f /gdb/infcall.c
parenta9a4c53eccf5a5e8ed2d6edb75054ad7ff7990fc (diff)
downloadgdb-faaf634c109b5b97c2a51a9a0ef5ecdc596b270a.zip
gdb-faaf634c109b5b97c2a51a9a0ef5ecdc596b270a.tar.gz
gdb-faaf634c109b5b97c2a51a9a0ef5ecdc596b270a.tar.bz2
2007-05-31 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (CALL_DUMMY_LOCATION): Replace by gdbarch_call_dummy_location. * infcall.c (call_function_by_hand): Likewise. * inferior.h: Change comment. * arch-utils.c: Change comment. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 5eb9ca3..25e25ad 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -454,7 +454,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
/* The actual breakpoint (at BP_ADDR) is inserted separatly so there
is no need to write that out. */
- switch (CALL_DUMMY_LOCATION)
+ switch (gdbarch_call_dummy_location (current_gdbarch))
{
case ON_STACK:
/* "dummy_addr" is here just to keep old targets happy. New