aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.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/linespec.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/linespec.c')
-rw-r--r--gdb/linespec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 4950d37..dc003e5 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1834,7 +1834,8 @@ minsym_found (int funfirstline, struct minimal_symbol *msymbol)
if (funfirstline)
{
values.sals[0].pc += DEPRECATED_FUNCTION_START_OFFSET;
- values.sals[0].pc = SKIP_PROLOGUE (values.sals[0].pc);
+ values.sals[0].pc = gdbarch_skip_prologue
+ (current_gdbarch, values.sals[0].pc);
}
values.nelts = 1;
return values;