diff options
author | Daniel Jacobowitz <drow@false.org> | 2001-07-05 23:22:04 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2001-07-05 23:22:04 +0000 |
commit | 2ac44c70305d4e09092a8276226e820cd31e489a (patch) | |
tree | 09a2e40356670f76c8b03f6524791828efea6ed3 | |
parent | 0a2afbc13afe370f2bf24139c525a256c0130faa (diff) | |
download | gdb-2ac44c70305d4e09092a8276226e820cd31e489a.zip gdb-2ac44c70305d4e09092a8276226e820cd31e489a.tar.gz gdb-2ac44c70305d4e09092a8276226e820cd31e489a.tar.bz2 |
* ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
of greg_t.
(fill_gregset): Likewise.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/ppc-linux-nat.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20f1d75..e1e5cb8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-07-05 Daniel Jacobowitz <drow@mvista.com> + + * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead + of greg_t. + (fill_gregset): Likewise. + 2001-07-05 Andrew Cagney <ac131313@redhat.com> * objfiles.c (open_mapped_file): Use lbasename instead of diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index b80c9ae..bcb438c 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_) \ |