aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-07-06 07:14:54 +0000
committerYao Qi <yao@codesourcery.com>2013-07-06 07:14:54 +0000
commit52d361e1b3b072dfee5515b32a55888be63c4795 (patch)
tree2e16a145c348a23fa902b9ddb51634bf91b05aee /gdb/breakpoint.h
parente1ec1b420ce7e3e701b95e75d0a276988c3e7fbf (diff)
downloadgdb-52d361e1b3b072dfee5515b32a55888be63c4795.zip
gdb-52d361e1b3b072dfee5515b32a55888be63c4795.tar.gz
gdb-52d361e1b3b072dfee5515b32a55888be63c4795.tar.bz2
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 19961fe..374164c 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);