[PATCH] Make BLOCK_START and BLOCK_END into rvalues
Christian Biesinger
cbiesinger@google.com
Sat May 16 16:36:32 GMT 2020
On Sat, May 16, 2020, 10:10 Tom Tromey <tom@tromey.com> wrote:
> diff --git a/gdb/buildsym.c b/gdb/buildsym.c
> index b9bcc33080a..b13857b0dda 100644
> --- a/gdb/buildsym.c
> +++ b/gdb/buildsym.c
> @@ -242,8 +242,8 @@ buildsym_compunit::finish_block_internal
> }
> }
>
> - BLOCK_START (block) = start;
> - BLOCK_END (block) = end;
> + block->startaddr = start = start;
>
I think you only need one "start" here :)
>
>
More information about the Gdb-patches
mailing list