summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-07-06 07:14:53 +0000
committerqiyao <qiyao>2013-07-06 07:14:53 +0000
commit6a120c2f9c46edc6f93932c3738bd0d3afb8db02 (patch)
tree24d93304ce206f143d08f2a44f694d2dbe795ad2 /gdb/breakpoint.h
parent882b6307d545a0f42682428d30cddb7bc3e084f6 (diff)
downloadgdb-6a120c2f9c46edc6f93932c3738bd0d3afb8db02.tar.gz
gdb/
* breakpoint.h (struct breakpoint_ops) <create_breakpoints_sal>: Remove parameter 'lsal'. * breakpoint.c (create_breakpoint): Move local variable 'lsal' to inner block. Caller update. (base_breakpoint_create_breakpoints_sal): Update. (bkpt_create_breakpoints_sal): Likewise. (tracepoint_create_breakpoints_sal): Likewise. (strace_marker_create_breakpoints_sal): Get 'lsal' from the element 0 of vector 'canonical->sals'.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 19961fea78d..374164c9df5 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -595,8 +595,7 @@ struct breakpoint_ops
This function is called inside `create_breakpoint'. */
void (*create_breakpoints_sal) (struct gdbarch *,
struct linespec_result *,
- struct linespec_sals *, char *,
- char *,
+ char *, char *,
enum bptype, enum bpdisp, int, int,
int, const struct breakpoint_ops *,
int, int, int, unsigned);