diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-24 04:49:48 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-24 04:49:48 +0000 |
commit | e676a15f0b9ef089973311249917e203917b3903 (patch) | |
tree | ac8656c9b5795932c78ea01ea53ce9eabee5a9ae /gdb/symm-xdep.c | |
parent | 0fd24984ce2d13dd7ec231afa5b42e60ff1f1858 (diff) | |
download | gdb-e676a15f0b9ef089973311249917e203917b3903.zip gdb-e676a15f0b9ef089973311249917e203917b3903.tar.gz gdb-e676a15f0b9ef089973311249917e203917b3903.tar.bz2 |
* Makefile.in (VERSION): Bump to 4.5.6.
* coffread.c (coff_end_symtab): Cast 2nd arg of complain() to
correct type.
* defs.h (NORETURN): Define away for Lucid compiler.
* remote.c (remote_timer, remote_interrupt): Signal handlers
take one int arg.
* ser-termios.c (serial_write, serial_close): Return whatever
value the write/close call returns, rather than falling off end.
* inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on
more systems than it is "char *". Define PTRACE_ARG3_TYPE to
default to int.
* infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c,
inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type
of third arg.
* a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c,
m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c,
pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c,
symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace
argument 3.
* sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers,
store_inferior_registers): Supply missing fourth argument to
ptrace().
Diffstat (limited to 'gdb/symm-xdep.c')
-rw-r--r-- | gdb/symm-xdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symm-xdep.c b/gdb/symm-xdep.c index 65cab34..4ce743a 100644 --- a/gdb/symm-xdep.c +++ b/gdb/symm-xdep.c @@ -70,7 +70,7 @@ int regno; else { reg_tmp = *(int *)®isters[REGISTER_BYTE(regno)]; - ptrace(XPT_RREGS, inferior_pid, ®s, 0); + ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); switch (regno) { case 0: @@ -106,7 +106,7 @@ int regno; } } #endif /* 0 */ - ptrace(XPT_WREGS, inferior_pid, ®s, 0); + ptrace(XPT_WREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); } void @@ -119,7 +119,7 @@ fetch_inferior_registers (regno) registers_fetched (); - ptrace(XPT_RREGS, inferior_pid, ®s, 0); + ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®s, 0); *(int *)®isters[REGISTER_BYTE(0)] = regs.pr_eax; *(int *)®isters[REGISTER_BYTE(5)] = regs.pr_ebx; *(int *)®isters[REGISTER_BYTE(2)] = regs.pr_ecx; @@ -427,7 +427,7 @@ i386_float_info () extern int corechan; if (have_inferior_p()) { - call_ptrace(XPT_RREGS, inferior_pid, ®set, 0); + call_ptrace(XPT_RREGS, inferior_pid, (PTRACE_ARG3_TYPE) ®set, 0); } else { if (lseek (corechan, 0, 0) < 0) { perror ("seek on core file"); |