[gnu.gdb.bug] BUG in GDB 3.0 - can't evaluate

rfg@MCC.COM (Ron Guilmette) (02/20/89)

In GDB 3.0 (on a Sun 3) you are allowed to:

	print pointer_variable - array_variable

but if you try to:

	print pointer_variable - &array_variable

you get the message:

	Argument to arithmetic operation not a number.

Shouldn't these two expressions evaluate to the same thing (and in
the same way)?

// Ron Guilmette  -  MCC  -  Experimental (parallel) Systems Kit Project
// 3500 West Balcones Center Drive,  Austin, TX  78759  -  (512)338-3740
// ARPA: rfg@mcc.com
// UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg