9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Nick Owens <mischief@9.offblast.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] acid analogues of gdb stepping commands
Date: Fri,  8 Nov 2013 16:36:03 -0800	[thread overview]
Message-ID: <20131109003603.GP11218@iota.offblast.org> (raw)
In-Reply-To: <c18c95ec163f211e43c7320ed244e53c@ladd.quanstro.net>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

On Fri, Nov 08, 2013 at 06:51:54PM -0500, erik quanstrom wrote:
> have you tried compiling with -N (no peephole opt).
> 
> - erik
> 

i hadn't, but i just tried it like so, where Next is basically as Skip described:

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
<rest of output elided>
1645200: breakpoint main+0xb  CMPL  argv0(SB),$0x0
<stdin>:3: (error) msg: pid=1645200 startstop: process exited
acid: 

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


[-- Attachment #2: Type: application/pgp-signature, Size: 851 bytes --]

      reply	other threads:[~2013-11-09  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08  2:46 Nick Owens
2013-11-08  7:40 ` Skip Tavakkolian
2013-11-08 10:03   ` Skip Tavakkolian
2013-11-08 23:46     ` Nick Owens
2013-11-08 23:51       ` erik quanstrom
2013-11-09  0:36         ` Nick Owens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131109003603.GP11218@iota.offblast.org \
    --to=mischief@9.offblast.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).