diff options
Diffstat (limited to 'gdb/tm-rs6000.h')
-rw-r--r-- | gdb/tm-rs6000.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tm-rs6000.h b/gdb/tm-rs6000.h index dd27da6..43eb2d3 100644 --- a/gdb/tm-rs6000.h +++ b/gdb/tm-rs6000.h @@ -25,7 +25,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define AIX_BUGGY_PTRACE_CONTINUE \ { \ - int ret = ptrace (PT_CONTINUE, inferior_pid, (int *)1, signal, 0); \ + int ret = ptrace (PT_CONTINUE, inferior_pid, \ + (PTRACE_ARG3_TYPE) 1, signal, 0); \ if (errno) { \ /* printf ("ret: %d, errno: %d, signal: %d\n", ret, errno, signal); */ \ errno = 0; } \ |