From: Daniel Jacobowitz Date: Thu, 5 Jul 2001 23:22:04 +0000 (+0000) Subject: * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ac44c70305d4e09092a8276226e820cd31e489a;p=binutils-gdb.git * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead of greg_t. (fill_gregset): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20f1d75de63..e1e5cb8c0f5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-07-05 Daniel Jacobowitz + + * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead + of greg_t. + (fill_gregset): Likewise. + 2001-07-05 Andrew Cagney * objfiles.c (open_mapped_file): Use lbasename instead of diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index b80c9aedee3..bcb438c543d 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -63,7 +63,7 @@ void supply_gregset (gdb_gregset_t *gregsetp) { int regi; - register greg_t *regp = (greg_t *) gregsetp; + register elf_greg_t *regp = (elf_greg_t *) gregsetp; for (regi = 0; regi < 32; regi++) supply_register (regi, (char *) (regp + regi)); @@ -76,7 +76,7 @@ void fill_gregset (gdb_gregset_t *gregsetp, int regno) { int regi; - greg_t *regp = (greg_t *) gregsetp; + elf_greg_t *regp = (elf_greg_t *) gregsetp; #define COPY_REG(_idx_,_regi_) \ if ((regno == -1) || regno == _regi_) \