freebsd-nq/contrib/binutils/bfd
Attilio Rao 7f08176ee8 Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
  storing thread specific, miscellaneous, informations. Right now it is
  just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by:	Sandvine Incorporated
Tested by:	gianni
Discussed with:	dim, kan, kib
MFC after:	2 weeks
2010-11-22 14:42:13 +00:00
..
doc
hosts Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2008-05-29 02:29:59 +00:00
po
acinclude.m4
aclocal.m4
aout0.c
aout32.c
aout64.c
aout-arm.c
aout-encap.c
aout-sparcle.c
aout-target.h
aoutf1.h
aoutx.h
archive64.c
archive.c
archures.c Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. 2010-06-02 11:06:03 +00:00
armnetbsd.c
bfd-in2.h Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. 2010-06-02 11:06:03 +00:00
bfd-in.h
bfd.c
bfdio.c
bfdwin.c
binary.c
bout.c
cache.c
ChangeLog
ChangeLog-0001
ChangeLog-0203
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
coff64-rs6000.c
coff-alpha.c
coff-arm.c
coff-aux.c
coff-i386.c
coff-ia64.c
coff-mips.c Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
coff-ppc.c
coff-rs6000.c
coff-sparc.c
coff-x86_64.c Add support for the BFD target efi-app-x86_64. 2010-09-29 14:41:03 +00:00
coffcode.h
coffgen.c
cofflink.c
coffswap.h
config.bfd Default to little endian output when building for little endian. This 2010-11-13 20:30:24 +00:00
config.in
configure
configure.host
configure.in
corefile.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
cpu-i386.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-mips.c Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. 2010-06-02 11:06:03 +00:00
cpu-powerpc.c
cpu-rs6000.c
cpu-s390.c
cpu-sparc.c
demo64.c
dep-in.sed
dwarf1.c
dwarf2.c
ecoff.c
ecofflink.c
ecoffswap.h
efi-app-ia32.c
efi-app-ia64.c
efi-app-x86_64.c Add support for the BFD target efi-app-x86_64. 2010-09-29 14:41:03 +00:00
elf32-arc.c
elf32-arm.h
elf32-gen.c
elf32-i386-fbsd.c
elf32-i386.c Update HEAD with the stock binutils_2_15_20040523 file. 2004-06-16 06:55:49 +00:00
elf32-mips.c Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
elf32-ppc.c
elf32-ppc.h Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-07-06 19:16:23 +00:00
elf32-s390.c
elf32-sparc.c
elf32.c
elf64-alpha-fbsd.c
elf64-alpha.c Update HEAD with the stock binutils_2_15_20040523 file. 2004-06-16 06:55:49 +00:00
elf64-gen.c
elf64-mips.c Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
elf64-ppc.c Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes 2010-07-10 02:29:22 +00:00
elf64-ppc.h
elf64-s390.c
elf64-sparc.c * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a 2006-06-08 13:10:51 +00:00
elf64-x86-64.c
elf64.c
elf-bfd.h Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
elf-eh-frame.c
elf-strtab.c
elf.c Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
elfarm-nabi.c
elfarm-oabi.c
elfcode.h
elfcore.h
elflink.c
elflink.h
elfn32-mips.c Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2008-05-29 02:29:59 +00:00
elfxx-ia64.c
elfxx-mips.c Prevent endless loop by detecting broken MIPS.options 2010-11-07 20:44:46 +00:00
elfxx-mips.h Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2008-05-29 02:29:59 +00:00
elfxx-target.h
format.c
freebsd.h Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15. 2004-06-16 06:13:06 +00:00
gen-aout.c
genlink.h
hash.c
host-aout.c
i386aout.c
i386bsd.c
i386freebsd.c
i386linux.c
i386netbsd.c
ieee.c
ihex.c
init.c
libaout.h
libbfd-in.h
libbfd.c
libbfd.h
libcoff-in.h
libcoff.h
libecoff.h
libieee.h
libpei.h
libxcoff.h Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-07-06 19:16:23 +00:00
linker.c
MAINTAINERS
Makefile.am
Makefile.in
merge.c
mipsbsd.c Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
netbsd-core.c
netbsd.h
opncls.c Zero the buffer containing the .gnu_debuglink section before writing 2010-11-11 00:29:19 +00:00
osf-core.c
pe-arm.c
pe-i386.c
pe-mips.c Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
pe-ppc.c
pei-mips.c Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2008-05-29 02:29:59 +00:00
peicode.h
peXXigen.c
PORTING
ppcboot.c
ptrace-core.c
README
reloc16.c
reloc.c
rs6000-core.c
sco5-core.c
section.c
simple.c
sparclinux.c
sparcnetbsd.c
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c
sysdep.h
targets.c Add support for the BFD target efi-app-x86_64. 2010-09-29 14:41:03 +00:00
targmatch.sed
tekhex.c
TODO
trad-core.c
version.h
xcoff-target.h
xcofflink.c

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.