projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d70cc3b
)
RISC-V: Enable 32-bit linux gdb core file support.
author
Jim Wilson
<jimw@sifive.com>
Mon, 22 Apr 2019 21:17:55 +0000
(14:17 -0700)
committer
Jim Wilson
<jimw@sifive.com>
Mon, 22 Apr 2019 21:17:55 +0000
(14:17 -0700)
bfd/
* elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elfnn-riscv.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e7dd8121f6fd94bca7215a2bea742e92e526919c..d49fb7f75f79e82f60906e8be89698233522126e 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2019-04-22 Jim Wilson <jimw@sifive.com>
+
+ * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
+
2019-04-19 Alan Modra <amodra@gmail.com>
* elf32-s12z.c (elf_backend_can_gc_sections): Don't define
diff --git
a/bfd/elfnn-riscv.c
b/bfd/elfnn-riscv.c
index 964b6bdcbcc6caef76b14584d74d77ef4e15bd96..1bddbcaa932645bdc7a75ded0fecf8ec03fba4c3 100644
(file)
--- a/
bfd/elfnn-riscv.c
+++ b/
bfd/elfnn-riscv.c
@@
-4008,7
+4008,7
@@
fail:
}
#if ARCH_SIZE == 32
-# define PRSTATUS_SIZE
0 /* FIXME */
+# define PRSTATUS_SIZE
204
# define PRSTATUS_OFFSET_PR_CURSIG 12
# define PRSTATUS_OFFSET_PR_PID 24
# define PRSTATUS_OFFSET_PR_REG 72