Re: [PATCH 5/9] Remove current_target_sections macro

Tom Tromey
2020-07-22T14:11:27Z

>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:

Simon> This is handled in the next patch, so forget it. Although I get a build failure on this
Simon> patch:

Simon> /home/smarchi/src/binutils-gdb/gdb/solib-dsbt.c: In function ‘int scan_dyntag(int, bfd*, CORE_ADDR*)’:
Simon> /home/smarchi/src/binutils-gdb/gdb/solib-dsbt.c:427:63: error: base operand of ‘->’ has non-pointer type ‘target_section_table’
Simon> 427 | for (target_section = current_program_space->target_sections->sections;
Simon> | ^~

Oops, either I sent the wrong version, or the fix ended up in a
different patch. I'll have to check; but either way I'll fix it.

Tom