This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove parameter lsal from 'create_breakpoints_sal' in 'struct breakpoint_ops'
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 05 Jul 2013 15:31:21 +0100
- Subject: Re: [PATCH] Remove parameter lsal from 'create_breakpoints_sal' in 'struct breakpoint_ops'
- References: <1372904800-12770-1-git-send-email-yao at codesourcery dot com>
On 07/04/2013 03:26 AM, Yao Qi wrote:
> 2013-07-04 Yao Qi <yao@codesourcery.com>
>
> * 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'.
OK.
--
Pedro Alves