diff options
author | Stafford Horne <shorne@gmail.com> | 2018-12-08 07:01:40 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2018-12-08 07:07:36 +0900 |
commit | 42e151bf4cc66b8781f2b139c6da320095f9a045 (patch) | |
tree | 3004954c0eb750ed1414e3751f882c9797b533ee /bfd/ChangeLog | |
parent | f50fabe4f66534c9addacddeaa439e8d164eadda (diff) | |
download | binutils-gdb-42e151bf4cc66b8781f2b139c6da320095f9a045.tar.gz |
gdb/or1k: Add linux debugging support
Up until now OpenRISC GDB only has supported bare metal debugging. This
patch adds linux userspace debugging and core dump analysis support.
The changes are loosely based on nios2 and riscv implementations.
This was tested with linux 4.20 core dumps for executables linked
against musl libc.
bfd/ChangeLog:
* elf32-or1k.c (or1k_grok_prstatus): New function.
(or1k_grok_psinfo): Likewise.
gdb/ChangeLog:
* Makefile.in (ALL_TARGET_OBS): Add or1k-linux-tdep.o.
* configure.tgt: Add or1k*-*-linux*.
* or1k-linux-tdep.c: New file.
* or1k-tdep.c (or1k_gdbarch_init): Call gdbarch_init_osabi.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1e82b939e11..85277a15b1d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-12-08 Stafford Horne <shorne@gmail.com> + + * elf32-or1k.c (or1k_grok_prstatus): New function. + (or1k_grok_psinfo): Likewise. + 2018-12-07 H.J. Lu <hongjiu.lu@intel.com> * elf-properties.c (elf_find_and_remove_property): Add a |