aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-07-05 23:22:04 +0000
committerDaniel Jacobowitz <drow@false.org>2001-07-05 23:22:04 +0000
commit2ac44c70305d4e09092a8276226e820cd31e489a (patch)
tree09a2e40356670f76c8b03f6524791828efea6ed3 /gdb/ppc-linux-nat.c
parent0a2afbc13afe370f2bf24139c525a256c0130faa (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
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_) \