diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-10-30 08:36:10 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-10-30 08:36:10 +0000 |
commit | b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f (patch) | |
tree | 14c7f8d9fe4186487022ff4647ef1eb67e28cd55 /bfd/elf64-x86-64.c | |
parent | f3f8840bbd73ad7466eb9cd00756d7313dcef45a (diff) | |
download | gdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.zip gdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.tar.gz gdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.tar.bz2 |
Add Linux/x86_64 core support to i[3-7]86-*-linux
* configure.in: Set CORE_HEADER to hosts/x86-64linux.h for
'i[3-7]86-*-linux-*' if x86_64-*linux is enabled.
* configure: Regenerated.
* elf64-x86-64.c (elf_x86_64_write_core_note): Replace type
'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and
'prstatus64_t' respectively.
* hosts/x86-64linux.h (a8_uint64_t): New.
(user_regsx32_struct): Renamed to ...
(user_regs64_struct): This. Replace uint64_t with a8_uint64_t.
(elf_gregx32_t): Renamed to ...
(elf_greg64_t): This. Replace uint64_t with a8_uint64_t.
(ELF_NGREGX32): Removed.
(ELF_NGREG64): New.
(elf_gregx32_t): Removed.
(elf_greg64_t): New.
(struct prstatus64_timeval): New.
(elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t.
(elf_prstatus64): New.
(elf_prpsinfo64): New.
(prstatus64_t, prpsinfo64_t): New typedef.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index ca9a45c..d58384f 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -449,7 +449,7 @@ elf_x86_64_write_core_note (bfd *abfd, char *buf, int *bufsiz, } else { - prpsinfo_t data; + prpsinfo64_t data; memset (&data, 0, sizeof (data)); strncpy (data.pr_fname, fname, sizeof (data.pr_fname)); strncpy (data.pr_psargs, psargs, sizeof (data.pr_psargs)); @@ -490,7 +490,7 @@ elf_x86_64_write_core_note (bfd *abfd, char *buf, int *bufsiz, } else { - prstatus_t prstat; + prstatus64_t prstat; memset (&prstat, 0, sizeof (prstat)); prstat.pr_pid = pid; prstat.pr_cursig = cursig; |