aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-17 19:19:59 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-17 19:19:59 +0000
commit01dedca21da4eef10e57a1c1d8a11c75d9c6c829 (patch)
treeea182d016f0a8fbce98f1a9aaf9b593344ac5121 /gdb/inf-ttrace.c
parentec7e75e76075c3d35c8abfa58acbb6abac2c9932 (diff)
downloadgdb-01dedca21da4eef10e57a1c1d8a11c75d9c6c829.zip
gdb-01dedca21da4eef10e57a1c1d8a11c75d9c6c829.tar.gz
gdb-01dedca21da4eef10e57a1c1d8a11c75d9c6c829.tar.bz2
Fix a build failure on pa-hpux:
* gdb_ptrace.h (PT_SYSCALL): Define here if not already defined. * inf-ttrace.c (inf_ttrace_wait): Fix compilation failure introduced after field syscall_id inside struct target_waitstatus has been renamed into syscall_number.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r--gdb/inf-ttrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index e136c24..5233619 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -1104,7 +1104,7 @@ inf_ttrace_wait (struct target_ops *ops,
inf_ttrace_disable_page_protections (tts.tts_pid);
}
ourstatus->kind = TARGET_WAITKIND_SYSCALL_ENTRY;
- ourstatus->value.syscall_id = tts.tts_scno;
+ ourstatus->value.syscall_number = tts.tts_scno;
break;
case TTEVT_SYSCALL_RETURN:
@@ -1119,7 +1119,7 @@ inf_ttrace_wait (struct target_ops *ops,
inf_ttrace_num_lwps_in_syscall--;
}
ourstatus->kind = TARGET_WAITKIND_SYSCALL_RETURN;
- ourstatus->value.syscall_id = tts.tts_scno;
+ ourstatus->value.syscall_number = tts.tts_scno;
break;
default: