| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve support for XSAVE with debuggers.
- Dump an NT_X86_XSTATE note if XSAVE is in use. This note is designed
to match what Linux does in that 1) it dumps the entire XSAVE area
including the fxsave state, and 2) it stashes a copy of the current
xsave mask in the unused padding between the fxsave state and the
xstate header at the same location used by Linux.
- Teach readelf() to recognize NT_X86_XSTATE notes.
- Change PT_GET/SETXSTATE to take the entire XSAVE state instead of
only the extra portion. This avoids having to always make two
ptrace() calls to get or set the full XSAVE state.
- Add a PT_GET_XSTATE_INFO which returns the length of the current
XSTATE save area (so the size of the buffer needed for PT_GETXSTATE)
and the current XSAVE mask (%xcr0).
Notes:
svn path=/stable/10/; revision=279211
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
for. This is useful for software needing to know which architecture a
binary is built for as arm and armv6 have slight differences meaning only
some binaries build for one will work as expected on the other. It is
expected pkgng will be able to make use of this to simplify the logic to
determine which package ABI to use.
Approved by: re (kib)
Notes:
svn path=/head/; revision=255874
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add four ELF note constants:
- NT_FILE and NT_SIGINFO (core file notes output by recent Linux kernels)
- NT_GNU_ABI_TAG (was incorrectly reported as NT_VERSION)
- NT_GNU_BUILD_ID (used for locating standalone debug files)
Approved by: re (kib)
Notes:
svn path=/head/; revision=255522
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a function to return the specific type, when the note's Name field is
'FreeBSD'.
r249558 added FreeBSD-specific ELF note types that reuse type numbers of
existing generic / Linux types. This caused 'readelf -n' to produce
incorrect output on FreeBSD core files.
Sponsored by: DARPA, AFRL
MFC after: 3 days
Notes:
svn path=/head/; revision=253451
|
| |
|
|
|
|
|
|
| |
Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE.
Check for both of these when detecting a FreeBSD binary in gdb.
Notes:
svn path=/head/; revision=249603
|
| |
|
|
|
|
|
|
|
|
|
| |
.note.ABI-tag section.
This helps on ARM EABI where the OS/ABI field is zero. It would be better
to use the NOTES program header however this would require a more invasive
change.
Notes:
svn path=/head/; revision=246312
|
| |\
| |
| |
| | |
Notes:
svn path=/projects/binutils-2.17/; revision=215710
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
Notes:
svn path=/head/; revision=215679
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
us up to version 2.17.50.20070703, at the last GPLv2 commit.
Amongst others, this added upstream support for some FreeBSD-specific
things that we previously had to manually hack in, such as the OSABI
label support, and so on.
There are also quite a number of new files, some for cpu's (e.g. SPU)
that we may or may not be interested in, but those can be cleaned up
later on, if needed.
Notes:
svn path=/projects/binutils-2.17/; revision=214634
|
| |\| |
| |/
|/|
| | |
Notes:
svn path=/projects/binutils-2.17/; revision=214157
|
| |/
|
|
|
|
|
|
|
|
| |
Binutils has a "contrib" subdirectory - thus flattening cannot happen
without renaming the upper level contrib directory in a first pass.
Also, don't record this move and remove any keyword expansion.
Notes:
svn path=/vendor/binutils/dist/; revision=187443
|
| |
|
|
|
|
|
| |
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
Notes:
svn path=/vendor/binutils/dist/; revision=130561
|
| |
|
|
|
|
|
| |
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
Notes:
svn path=/vendor/binutils/dist/; revision=104834
|
| |
|
|
|
|
|
| |
These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
Notes:
svn path=/vendor/binutils/dist/; revision=91041
|
| |
|
|
|
|
|
|
| |
version 2.12.0. These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.
Notes:
svn path=/vendor/binutils/dist/; revision=89857
|
| |
|
|
| |
Notes:
svn path=/vendor/binutils/dist/; revision=78828
|
| |
|
|
|
|
|
| |
Believe it or not, this is heavily stripped down.
Notes:
svn path=/vendor/binutils/dist/; revision=77298
|
| |
|
|
|
|
|
| |
Believe it or not, this is heavily stripped down.
Notes:
svn path=/vendor/binutils/dist/; revision=68765
|
| |
|
|
| |
Notes:
svn path=/vendor/binutils/dist/; revision=61843
|
| |
|
|
| |
Notes:
svn path=/vendor/binutils/dist/; revision=60529
|
| |
|
|
| |
Notes:
svn path=/vendor/binutils/dist/; revision=60484
|
| |
|
|
|
|
|
| |
on 14-April-2000. This gives us offical SCO/SVR4 ABI values for EI_OSABI.
Notes:
svn path=/vendor/binutils/dist/; revision=59343
|
| |
|
|
|
|
|
|
|
| |
until I've made the commits to resolve the conflicts.
Submitted by: Doug Rabson <dfr>
Notes:
svn path=/vendor/binutils/dist/; revision=38889
|
|
|
this is heavily stripped down.
Notes:
svn path=/vendor/binutils/dist/; revision=33965
|