Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [obish/cris] Delete extract_struct_value_address
@ 2004-01-17 19:02 Andrew Cagney
  2004-01-17 20:00 ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2004-01-17 19:02 UTC (permalink / raw)
  To: gdb-patches, orjanf

Orjan,

The attached deletes cris's implementation of 
extract_struct_value_address.  Knowing two things make deleting it 
relatively obvious:

- infrun.c's been rewritten so that it never calls 
extract_struct_value_address, hence the "trick" of saving the return 
value's address in a global is never exploited

- as the comments note, the ABI doesn't preserve the return address 
register and hence the other potential caller (code trying to extract 
the return value) doesn't apply

BTW, suggest looking at "return_value", implementing it has a dramatic 
effect on the test results from structs.exp.

enjoy, (committed)
Andrew


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

end of thread, other threads:[~2004-01-18  0:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-17 19:02 [obish/cris] Delete extract_struct_value_address Andrew Cagney
2004-01-17 20:00 ` Andrew Cagney
2004-01-18  0:02   ` Andrew Cagney

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