public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Query regarding expression evaluation.
@ 2005-08-10 14:49 Ramana Radhakrishnan
  2005-08-10 15:44 ` Andreas Schwab
  2005-08-11 10:10 ` Andreas Schwab
  0 siblings, 2 replies; 4+ messages in thread
From: Ramana Radhakrishnan @ 2005-08-10 14:49 UTC (permalink / raw)
  To: gdb

Hi , 

Look at PR1978 . The discrepancy is because in valarith.c , GDB takes
the operation to be unsigned depending only on the operand types. In the
case described in the PR this seems alright with respect to the C
standard since the result is implementation dependent. 

Is it GDB policy to make sure that all expression evaluation is similar
to expression eval done by GCC for cases regarding implementation
dependent semantics ?  

cheers
Ramana


-- 
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)

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

end of thread, other threads:[~2005-08-11 13:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10 14:49 Query regarding expression evaluation Ramana Radhakrishnan
2005-08-10 15:44 ` Andreas Schwab
2005-08-11 10:10 ` Andreas Schwab
2005-08-11 13:21   ` Daniel Jacobowitz

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 read-only IMAP folder(s) and NNTP newsgroup(s).