This page was produced by an automated import process, and may have formatting errors; feel free to fix.

BFD

BFD provides support for GDB in several ways:

''identifying executable and core files''

BFD will identify a variety of file types, including a.out, coff, and several variants thereof, as well as several kinds of core files.

''access to sections of files''

BFD parses the file headers to determine the names, virtual addresses, sizes, and file locations of all the various named sections in files (such as the text section or the data section). GDB simply calls BFD to read or write section x at byte offset y for length z.

''specialized core file support''

BFD provides routines to determine the failing command name stored in a core file, the signal with which the program failed, and whether a core file matches (i.e. could be a core dump of) a particular executable file.

''locating the symbol information''

GDB uses an internal interface of BFD to determine where to find the symbol information in an executable file or symbol-file. GDB itself handles the reading of symbols, since BFD does not “understand” debug symbols, but GDB uses BFD’s cached information to find the symbols, string table, etc.

None: Internals BFD (last edited 2013-08-20 23:40:21 by StanShebs)

All content (C) 2008 Free Software Foundation. For terms of use, redistribution, and modification, please see the WikiLicense page.