diff options
| author | matt <matt@NetBSD.org> | 2003-04-25 20:13:47 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2003-04-25 20:13:47 +0000 |
| commit | 0aa3fc4996eead1b6106973c0bbc5347677dd3a3 (patch) | |
| tree | c3067bc81d62a9814eb6927a5b2621e783902084 /gnu | |
| parent | c338f2125f639d651c17ee1e5d0e5462aad8a2bc (diff) | |
Make sure to supply the PS_REGNUM (as a fixed value) so that
read_register_bytes doesn't complain.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/toolchain/gdb/ppcnbsd-nat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/dist/toolchain/gdb/ppcnbsd-nat.c b/gnu/dist/toolchain/gdb/ppcnbsd-nat.c index d4d5b9ac6ff..57fa7d42d28 100644 --- a/gnu/dist/toolchain/gdb/ppcnbsd-nat.c +++ b/gnu/dist/toolchain/gdb/ppcnbsd-nat.c @@ -43,6 +43,8 @@ supply_regs (regs) supply_register (XER_REGNUM, regs + (34 * 4)); supply_register (CTR_REGNUM, regs + (35 * 4)); supply_register (PC_REGNUM, regs + (36 * 4)); + i = 0; + supply_register (PS_REGNUM, (char *) &i); } static void |
