]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use elfcore_write_linux_prstatus in gdb
authorAlan Modra <amodra@gmail.com>
Thu, 21 Jan 2016 09:28:55 +0000 (19:58 +1030)
committerPedro Alves <palves@redhat.com>
Thu, 21 Jan 2016 11:45:38 +0000 (11:45 +0000)
commite2b337e5a957affa1cb31693e1424d015a6e8f2a
tree24aba54b746dbbfbbb854976d4d7e774f6d8a489
parent3ccd529460bbb5369d025a341e074b0697e261a5
Use elfcore_write_linux_prstatus in gdb

The gdb side.  Nothing fancy here, though it'd be easier to fill in
more fields now.  Targets that are known to need a custom
gdbarch_elfcore_write_linux_prstatus but don't have one yet can
install a stop-gap hook implementation that still calls into
elfcore_write_prstatus.  It is currently installed for MIPS n32 and
Sparc64 (though we're not writting any of pr_{u,s,cu,cs}time yet), and
x86-64 x32 too.

Signed-off-by: Pedro Alves <palves@redhat.com>
gdb/amd64-linux-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/linux-tdep.c
gdb/linux-tdep.h
gdb/mips-linux-tdep.c
gdb/sparc64-linux-tdep.c