From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 12 18:20:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6FD616A4D0 for ; Fri, 12 Nov 2004 18:20:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFED643D48 for ; Fri, 12 Nov 2004 18:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iACIKLL4003838 for ; Fri, 12 Nov 2004 18:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iACIKLZ9003837; Fri, 12 Nov 2004 18:20:21 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2004 18:20:21 GMT Resent-Message-Id: <200411121820.iACIKLZ9003837@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Kargl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04ECB16A4CE for ; Fri, 12 Nov 2004 18:18:17 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAF5043D2F for ; Fri, 12 Nov 2004 18:18:16 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) iACIIGMs021006 for ; Fri, 12 Nov 2004 10:18:16 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)iACIIGZw021005; Fri, 12 Nov 2004 10:18:16 -0800 (PST) (envelope-from sgk) Message-Id: <200411121818.iACIIGZw021005@troutmask.apl.washington.edu> Date: Fri, 12 Nov 2004 10:18:16 -0800 (PST) From: Steve Kargl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/73880: [PATCH] tools: catch up with cuaa* rename to cuad* X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 18:20:22 -0000 >Number: 73880 >Category: misc >Synopsis: [PATCH] tools: catch up with cuaa* rename to cuad* >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 18:20:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Steve Kargl >Release: FreeBSD 5.2-CURRENT i386 >Organization: APL/UW >Environment: System: FreeBSD troutmask.apl.washington.edu 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Apr 22 14:44:25 PDT 2004 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386 >Description: For /usr/src/UPDATING: 20041018: A major sweep over the tty drivers to elimnate approx 3100 lines of copy&pasted code have been performed. As a part of this change some tty devices have changed names: sio devices are now named: {tty,cua}d%d[.init,.lock] ucom devices are now named: {tty,cua}U%d[.init,.lock] For other drivers see the commit logs. >How-To-Repeat: >Fix: diff -ur tools.orig/debugscripts/dot.gdbinit tools/debugscripts/dot.gdbinit --- tools.orig/debugscripts/dot.gdbinit Thu Nov 11 21:05:45 2004 +++ tools/debugscripts/dot.gdbinit Fri Nov 12 10:13:28 2004 @@ -37,16 +37,16 @@ end document tr -Debug a remote system via serial or firewire interface. For example, specify 'tr /dev/cuaa0' to use first serial port, or 'tr localhost:5556' for default firewire port. See also tr0, tr1 and trf commands. +Debug a remote system via serial or firewire interface. For example, specify 'tr /dev/cuad0' to use first serial port, or 'tr localhost:5556' for default firewire port. See also tr0, tr1 and trf commands. end # Convenience functions. These call tr. -# debug via cuaa0 +# debug via cuad0 define tr0 -tr /dev/cuaa0 +tr /dev/cuad0 end define tr1 -tr /dev/cuaa1 +tr /dev/cuad1 end # Firewire define trf @@ -54,10 +54,10 @@ end document tr0 -Debug a remote system via serial interface /dev/cuaa0. See also tr, tr1 and trf commands. +Debug a remote system via serial interface /dev/cuad0. See also tr, tr1 and trf commands. end document tr1 -Debug a remote system via serial interface /dev/cuaa1. See also tr, tr0 and trf commands. +Debug a remote system via serial interface /dev/cuad1. See also tr, tr0 and trf commands. end document trf Debug a remote system via firewire interface at default port 5556. See also tr, tr0 and tr1 commands. @@ -108,7 +108,7 @@ source gdbinit.machine echo Ready to go. Enter 'tr' to connect to the remote target\n -echo with /dev/cuaa0, 'tr /dev/cuaa1' to connect to a different port\n +echo with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port\n echo or 'trf portno' to connect to the remote target with the firewire\n echo interface. portno defaults to 5556.\n echo \n diff -ur tools.orig/test/ppsapi/Makefile tools/test/ppsapi/Makefile --- tools.orig/test/ppsapi/Makefile Thu Nov 11 21:05:52 2004 +++ tools/test/ppsapi/Makefile Fri Nov 12 10:14:25 2004 @@ -8,4 +8,4 @@ .include test: ${PROG} - ./${PROG} /dev/cuaa0 + ./${PROG} /dev/cuad0 diff -ur tools.orig/test/ppsapi/README tools/test/ppsapi/README --- tools.orig/test/ppsapi/README Mon Dec 8 12:49:40 2003 +++ tools/test/ppsapi/README Fri Nov 12 10:14:18 2004 @@ -16,7 +16,7 @@ The output looks like: -# ./ppsapitest -C /dev/cuaa4 +# ./ppsapitest -C /dev/cuad4 1070915603 .703680117 119 1070915940 .902275676 121 1070915941 .703657317 120 1070915941 .902327516 122 1070915942 .703657077 121 1070915942 .902367957 123 @@ -36,7 +36,7 @@ (If the -C option had not been specified, twice as many lines would be output: -# ./ppsapitest /dev/cuaa4 +# ./ppsapitest /dev/cuad4 1070916432 .703624557 125 1070915945 .902527078 126 1070916432 .703624557 125 1070916432 .902303156 127 1070916433 .703624557 126 1070916432 .902303156 127 >Release-Note: >Audit-Trail: >Unformatted: