From owner-p4-projects@FreeBSD.ORG Sat Jun 19 07:13:40 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1195F16A4D8; Sat, 19 Jun 2004 07:13:40 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB6DE16A4CF for ; Sat, 19 Jun 2004 07:13:39 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D49C143D1F for ; Sat, 19 Jun 2004 07:13:39 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5J7DGpb098274 for ; Sat, 19 Jun 2004 07:13:16 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5J7DG6Y098269 for perforce@freebsd.org; Sat, 19 Jun 2004 07:13:16 GMT (envelope-from marcel@freebsd.org) Date: Sat, 19 Jun 2004 07:13:16 GMT Message-Id: <200406190713.i5J7DG6Y098269@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 55294 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 07:13:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=55294 Change 55294 by marcel@marcel_nfs on 2004/06/19 07:13:12 Cast td_tid to long. Affected files ... .. //depot/projects/gdb/sys/gdb/gdb_main.c#15 edit Differences ... ==== //depot/projects/gdb/sys/gdb/gdb_main.c#15 (text+ko) ==== @@ -105,7 +105,7 @@ gdb_tx_reg(GDB_REG_PC); gdb_tx_char(';'); gdb_tx_str("thread:"); - gdb_tx_varhex(kdb_thread->td_tid); + gdb_tx_varhex((long)kdb_thread->td_tid); gdb_tx_char(';'); gdb_tx_end(); /* XXX check error condition. */ @@ -185,7 +185,7 @@ if (gdb_rx_equal("fThreadInfo")) { thr_iter = kdb_thr_first(); gdb_tx_begin('m'); - gdb_tx_hex(thr_iter->td_tid, 8); + gdb_tx_hex((long)thr_iter->td_tid, 8); gdb_tx_end(); } else if (gdb_rx_equal("sThreadInfo")) { if (thr_iter == NULL) { @@ -195,7 +195,7 @@ thr_iter = kdb_thr_next(thr_iter); if (thr_iter != NULL) { gdb_tx_begin('m'); - gdb_tx_hex(thr_iter->td_tid, 8); + gdb_tx_hex((long)thr_iter->td_tid, 8); gdb_tx_end(); } else { gdb_tx_begin('l');