From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 8 Nov 2013 16:36:03 -0800 From: Nick Owens To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20131109003603.GP11218@iota.offblast.org> References: <20131108024600.GN11218@iota.offblast.org> <20131108234629.GO11218@iota.offblast.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r/w8vo2lxBmCPGjQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [9fans] acid analogues of gdb stepping commands Topicbox-Message-UUID: 8a3ad048-ead8-11e9-9d60-3106f5b1d025 --r/w8vo2lxBmCPGjQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 08, 2013 at 06:51:54PM -0500, erik quanstrom wrote: > have you tried compiling with -N (no peephole opt). >=20 > - erik >=20 i hadn't, but i just tried it like so, where Next is basically as Skip desc= ribed: cpu% 8c -FTVw -N ps.c cpu% 8l -N -o 8.ps ps.8 cpu% cp 8.ps /386/bin/ps cpu% acid /bin/ps /bin/ps:386 plan 9 executable /sys/lib/acid/port /sys/lib/acid/386 acid: new() 1645200: system call _main SUBL $0x48,SP 1645200: breakpoint main+0x3 MOVL $0x1,none+0x2c(SP) acid: Next() mischief 1 0:00 0:00 220K Await bootrc mischief 2 12:39 0:00 0K Wakeme genrandom 1645200: breakpoint main+0xb CMPL argv0(SB),$0x0 :3: (error) msg: pid=3D1645200 startstop: process exited acid:=20 Bsrc shows this happens right after ARGBEGIN. maybe that confuses acid? i should mention now that i am on 9front, but i hope that doesn't matter. nick --r/w8vo2lxBmCPGjQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (OpenBSD) iQIcBAEBAgAGBQJSfYNzAAoJEAlFY6k1Rs31hZ8P/15Gnwk83+Y2C2kIZfo67k2D yzL+7p1oo9Tq4kMqhGL1h5wZCKMEcCt1wJhGyO/JoLhpRYqqvNPlaPBX2ZKKKRRy akpw/HUvha9fMawowRRINF7vOdWXLRLNsQ3RSkw6dgZZKdtZ0z75eD8L6QlZ4Lms UD/6RBn+AU9En8f/SNJMNkGPlJVGfbtbqOKiVf3fNiRsORM//ZIMwiG3etAHOF9o 6It4h/0VNrJghsn3MTxAut7Pd+VDLiEcDwbpAsVjf3WeVnfzLXwtkV+B16YVBn+g HJu/d58CpB39M/FRrIFjGYeYqTOB2GxaEWUpbdB8YdH19W5DWMpVR2UVp/7p6JzU y1JBD6xLiVSCQ/gQAawOWPJYYomoGpZmDZUf5ZQPZe6OOsQ0NNgrnhLk/UHH40R0 tS30xv6WGTBMvVQZCgNul81JRNXn1Jpcci6Adqv7iZCTG+N13A1dHh/hKFNKclr2 3Xg0SBuCPkyhHUJMXII3UZ1ZVY4sVR9uMcT09XAQQyK3qr8PUw9U+G6EwAaesRHR iWnpPiWfNZYdtQxElJBrjkhChkWWbvX6T+eWs2tM9PSUpCD06Jx/w4stNWrwLEGa 7JJkifkLSoHHyWwkSl2VgmoneQNzZC+bye2gDIlplTB7AkMh8Nm/TryGEayUTNAZ vwJlImS2b8bLO1O7UFhK =ZmzP -----END PGP SIGNATURE----- --r/w8vo2lxBmCPGjQ--