[binutils-gdb] Move core_bfd to program space
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Fri May 11 20:37:00 GMT 2018
*** TEST RESULTS FOR COMMIT e540a5a22319f2ab5661db882639839d1d867542 ***
Author: Tom Tromey <tromey@redhat.com>
Branch: master
Commit: e540a5a22319f2ab5661db882639839d1d867542
Move core_bfd to program space
This moves the core_bfd global to be a field of the program space. It
then replaces core_bfd with a macro to avoid a massive patch -- the
same approach taken for various other program space fields.
This is a basic transformation for multi-target work.
2018-05-11 Tom Tromey <tromey@redhat.com>
Pedro Alves <tromey@redhat.com>
* corefile.c (core_bfd): Remove.
* gdbcore.h (core_bfd): Now a macro.
* progspace.h (struct program_space) <cbfd>: New field.
More information about the Gdb-testers
mailing list