Re: [RFA 16/42] Use gdb_assert in two places in buildsym.c

Simon Marchi
2018-07-08T16:55:56Z

On 2018-05-23 12:58 AM, Tom Tromey wrote:
> This changes buildsym.c to use gdb_assert rather than internal_error
> in a couple of spots.

Just a nit, but I think inverting the condition would be more readable

gdb_assert (current_subfile != NULL && current_subfile->name != NULL);

LGTM either way.

Simon