Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* bitwise operations on registers
@ 2002-03-10 23:50 Andrew Morton
  2002-03-11  3:04 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2002-03-10 23:50 UTC (permalink / raw)
  To: gdb

I'm sure I'm doing something silly.

(gdb) p $esp + 4
$15 = (void *) 0xca9c3ea4
(gdb) p $esp & 4
Argument to arithmetic operation not a number or boolean.
(gdb) 

I don't seem to be able to perform the `&' and `|' arithmetic
operators against machine registers.

GNU gdb Red Hat Linux (5.1.1-1)

Thanks.


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

end of thread, other threads:[~2002-03-27 22:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-10 23:50 bitwise operations on registers Andrew Morton
2002-03-11  3:04 ` Eli Zaretskii
2002-03-11  7:35   ` Andrew Cagney
2002-03-11  7:39     ` Daniel Jacobowitz
2002-03-14 19:12       ` Andrew Cagney
     [not found]         ` <3C9173AD.E2FBA5DA@zip.com.au>
2002-03-14 21:03           ` Daniel Jacobowitz
2002-03-27 13:43             ` Andrew Cagney
2002-03-27 14:55               ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox