9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acid question
@ 2010-07-17  8:33 Skip Tavakkolian
  2010-07-17  8:48 ` EBo
  2010-07-17 15:00 ` Philippe Anel
  0 siblings, 2 replies; 14+ messages in thread
From: Skip Tavakkolian @ 2010-07-17  8:33 UTC (permalink / raw)
  To: 9fans

is there a way to do in acid the equivalent to gdb 'call'?




^ permalink raw reply	[flat|nested] 14+ messages in thread
* [9fans] acid question
@ 2005-01-08  3:36 Tim Newsham
  2005-01-08  5:41 ` Rob Pike
  2005-01-08 21:46 ` Tim Newsham
  0 siblings, 2 replies; 14+ messages in thread
From: Tim Newsham @ 2005-01-08  3:36 UTC (permalink / raw)
  To: 9fans

I have two variables, "a" and "b".  One comes from a symbol name
(ie: a = main), and the other comes from data returned from strace().
Normal stuff:

    print	shows
    -----------------------------
    a		0x800529a4
    b		0x800529a4
    whatis a	integer variable format X
    whatis b    integer variable format X
    a - b	0x00000000
    b - a	0x00000000

now weirdness:
    a == b	0
    a < b	0x00000001
    b < a	0x00000000
    a > b	0
    b > a	1

Whats going on here?  Signed vs. unsigned issues?

Tim N.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-07-17 17:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-17  8:33 [9fans] acid question Skip Tavakkolian
2010-07-17  8:48 ` EBo
2010-07-17  9:19   ` Skip Tavakkolian
2010-07-17 12:15     ` EBo
2010-07-17 15:00 ` Philippe Anel
2010-07-17 15:56   ` Philippe Anel
2010-07-17 16:46     ` cinap_lenrek
2010-07-17 16:48     ` cinap_lenrek
2010-07-17 17:23     ` Skip Tavakkolian
2010-07-17 17:58       ` Philippe Anel
  -- strict thread matches above, loose matches on Subject: below --
2005-01-08  3:36 Tim Newsham
2005-01-08  5:41 ` Rob Pike
2005-01-08  6:34   ` Tim Newsham
2005-01-08 21:46 ` Tim Newsham

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).