diff options
Diffstat (limited to 'gdb/nat/linux-osdata.c')
-rw-r--r-- | gdb/nat/linux-osdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c index 12f66d3..9746d12 100644 --- a/gdb/nat/linux-osdata.c +++ b/gdb/nat/linux-osdata.c @@ -266,7 +266,7 @@ get_cores_used_by_process (PID_T pid, int *cores, const int num_cores) sscanf (dp->d_name, "%lld", &tid); core = linux_common_core_of_thread (ptid_t ((pid_t) pid, - (pid_t) tid, 0)); + (pid_t) tid)); if (core >= 0 && core < num_cores) { @@ -521,7 +521,7 @@ linux_xfer_osdata_threads (struct buffer *buffer) continue; tid = atoi (dp2->d_name); - core = linux_common_core_of_thread (ptid_t (pid, tid, 0)); + core = linux_common_core_of_thread (ptid_t (pid, tid)); buffer_xml_printf (buffer, |