From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27827 invoked from network); 21 Feb 2022 18:12:15 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 21 Feb 2022 18:12:15 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id EBDAA9CC64; Tue, 22 Feb 2022 04:12:11 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 2294F9CBBA; Tue, 22 Feb 2022 04:10:28 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OPEJH9wE"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 1250F9CBBA; Tue, 22 Feb 2022 04:10:27 +1000 (AEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by minnie.tuhs.org (Postfix) with ESMTPS id 9DC699CB50 for ; Tue, 22 Feb 2022 04:10:26 +1000 (AEST) Received: by mail-pj1-f45.google.com with SMTP id m22so2091104pja.0 for ; Mon, 21 Feb 2022 10:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=01PrFMpNWKlJrDw+T0uS3F+jRdsR2G9A7aL10jgTxvE=; b=OPEJH9wEocvMVclf0HqKWxI4lrQ0gMp2aswTN4G3XUBcnoOTCNW5jHbpey5IkTbGvO G1E2MqiBsOqDSQe3Cn8DrzX+Ru1M/2hDKoRqXmYcs8McEbHvnqW4PLbltYCk1QGw2KC8 K50jFj4ncd4hstcu3t/2eJePQMCzHEk37UaxJyFOOQMN9LAtSj6o2UZj4tb2z7E+OI5x OkP79faMSKj9jSSscuh4PApH4XAh/txb4xE2H7FMbNkW1mm9ULxRkKQv1gEdf4WUG0f/ lNQGXEREG9gGO7AtIPUAC3gMY9IHwlXsiMf5smFWw1XWzaZ2q36AwkV3B+od8iiSZbvW Ufww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=01PrFMpNWKlJrDw+T0uS3F+jRdsR2G9A7aL10jgTxvE=; b=Ltnd0VvVwXutOJTb5SHSuUrUOEnSV5NHSjE+jFCkEiPy/TptBvt4CV9eCh5gXxDJ4N hJ8hlb49/tSoqDleU9YjrjCvqGVebiM/ko37WPV3rpg9NI2E9NtllwkkcJHbz7dc+4yQ m/C0VjJngBtEePXKAtuprBzyFOn9K5I2spxZP/MddR4rfMBdpTbym3nir0xE9MkKbrui TU5KwHyn0b2OPQ4s57/qrPwmbZTMeX8SUP7jkb9mWKZW2oCjeB5IFvRHIjmHUs+2UQfp +igmeEf400GxuIUYYFulVFhhWI8nje2+yBAbPrrymY1++bMFRt38dzTk4U+ehOAh9B7P 3/Xg== X-Gm-Message-State: AOAM530O/uvEyoJuffxX+nkCUQ3BETcDkLKx5YK8Jd1qR0+jnQhy/Vfn evOm86XWxX9sGgFh8R9CJyfQXDH1dTZ7495XbQn2iYNB X-Google-Smtp-Source: ABdhPJwqB+PWCBeUQ6mdpgP+4J8DKE0dwvH+yRCO2nz1d5UbJoikOoAuuaO5pzhf+RjtUSu+mjtcgitz/yX5rX8qIWA= X-Received: by 2002:a17:903:3093:b0:14f:dbfb:167 with SMTP id u19-20020a170903309300b0014fdbfb0167mr366075plc.115.1645467026016; Mon, 21 Feb 2022 10:10:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Rob Pike Date: Tue, 22 Feb 2022 05:10:14 +1100 Message-ID: To: Norman Wilson Content-Type: multipart/alternative; boundary="000000000000934b0b05d88b25c2" Subject: Re: [TUHS] v7 source code for sh X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000934b0b05d88b25c2 Content-Type: text/plain; charset="UTF-8" It was likely me, as I did a lot of work on the program, but I don't claim that I was the one. There is a db (the Plan 9 derivation of adb) in plan9port, but it struggles with modern binaries. -rob On Tue, Feb 22, 2022 at 5:00 AM Norman Wilson wrote: > Rob Pike: > > I did the same to adb, which turned out to have a really good debugger > hidden under a few serious bugs of its own, which I fixed. > > ===== > > Memories. > > Was it you who replaced ptrace with /proc in adb, or did I do that? > > I do remember I was the one who took ptrace out of sdb (which a > few 1127-ers, or perhaps 112-ers on alice and rabbit still used). > After which I removed ptrace from the kernel, and from the > copy of the V8 manual in the UNIX room. Conveniently ptrace > occupied two facing pages; I glued them together. > > I also later did some work to try to isolate the target-dependent > parts of adb and to make them work in host-independent ways--e.g. > assembling ints byte-by-byte rather than assuming byte order--to > make it easier to make a cross adb, e.g. to examine PDP-11 or > 68K core dumps on a VAX. > > I miss adb; maybe it's time to revive it, though these days I'd > be tempted to rewrite it in Python so I could just load the right > module at runtime to pick the desired target. > > Norman Wilson > Toronto ON > --000000000000934b0b05d88b25c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It was likely me, as I did a lot of work on the program, b= ut I don't claim that I was the one.

There is a db (= the Plan 9 derivation of adb) in plan9port, but it struggles with modern bi= naries.

-rob


On Tue, Feb 22, 2= 022 at 5:00 AM Norman Wilson <norman= @oclsc.org> wrote:
Rob Pike:

=C2=A0 I did the same to adb, which turned out to have a really good debugg= er
=C2=A0 hidden under a few serious bugs of its own, which I fixed.

=3D=3D=3D=3D=3D

Memories.

Was it you who replaced ptrace with /proc in adb, or did I do that?

I do remember I was the one who took ptrace out of sdb (which a
few 1127-ers, or perhaps 112-ers on alice and rabbit still used).
After which I removed ptrace from the kernel, and from the
copy of the V8 manual in the UNIX room.=C2=A0 Conveniently ptrace
occupied two facing pages; I glued them together.

I also later did some work to try to isolate the target-dependent
parts of adb and to make them work in host-independent ways--e.g.
assembling ints byte-by-byte rather than assuming byte order--to
make it easier to make a cross adb, e.g. to examine PDP-11 or
68K core dumps on a VAX.

I miss adb; maybe it's time to revive it, though these days I'd
be tempted to rewrite it in Python so I could just load the right
module at runtime to pick the desired target.

Norman Wilson
Toronto ON
--000000000000934b0b05d88b25c2--