freebsd-nq/gnu/usr.bin/gdb
Andriy Gapon 7996bf419b kgdb: correctly map sections to addresses in elf object modules (amd64)
Unlike for modules with dso type, in elf object modules all the sections
have virtual address of zero.  So, it is insufficient to add module base
address to section virtual address (as recorded in section header) to
get section address in kernel memory.
Instead, we should apply the same calculations that are performed by
kernel loaders (in boot code and in kernel) when they lay out sections
in memory.

Discussed with:	jhb, np
MFC after:	3 weeks
2010-07-23 17:21:23 +00:00
..
arch Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes 2010-07-10 02:29:22 +00:00
doc
gdb Remove mention of the -k and -wcore options because they don't 2005-02-15 07:13:51 +00:00
gdbserver Make this directory more regular. Since it is one we control, use the 2010-04-14 20:31:06 +00:00
gdbtui
kgdb kgdb: correctly map sections to addresses in elf object modules (amd64) 2010-07-23 17:21:23 +00:00
libgdb For "thread signal" command, print some information from siginfo when 2010-07-04 12:09:30 +00:00
Makefile Simplify how we select which architectures to add gdbserver for. If 2010-04-12 23:35:58 +00:00
Makefile.inc Allow building a cross-kgdb for ia64. 2010-03-26 19:41:40 +00:00