aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:15:52 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:15:52 +0000
commita433963dd51c3b8ab6b5c2a3f75ec2fe4f564a0b (patch)
tree1dbb03fa4654cb2bca461ea96b176a451136238f /gdb/infrun.c
parentaea8766f8c5e652d50f4a0515f9f6dfb56176617 (diff)
downloadgdb-a433963dd51c3b8ab6b5c2a3f75ec2fe4f564a0b.zip
gdb-a433963dd51c3b8ab6b5c2a3f75ec2fe4f564a0b.tar.gz
gdb-a433963dd51c3b8ab6b5c2a3f75ec2fe4f564a0b.tar.bz2
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. * symtab.c (find_function_start_sal, in_prologue): Likewise. * linespec.c (minsym_found): Likewise. * infrun.c (step_into_function): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index db2c4a9..3c64156 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2709,7 +2709,8 @@ step_into_function (struct execution_control_state *ecs)
s = find_pc_symtab (stop_pc);
if (s && s->language != language_asm)
- ecs->stop_func_start = SKIP_PROLOGUE (ecs->stop_func_start);
+ ecs->stop_func_start = gdbarch_skip_prologue
+ (current_gdbarch, ecs->stop_func_start);
ecs->sal = find_pc_line (ecs->stop_func_start, 0);
/* Use the step_resume_break to step until the end of the prologue,