From 52d361e1b3b072dfee5515b32a55888be63c4795 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Sat, 6 Jul 2013 07:14:54 +0000 Subject: gdb/ * breakpoint.h (struct breakpoint_ops) : 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'. --- gdb/breakpoint.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/breakpoint.h') 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); -- cgit v1.1