2003-10-20 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 20 Oct 2003 15:38:02 +0000 (15:38 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 20 Oct 2003 15:38:02 +0000 (15:38 +0000)
commit92ad9cd90faf2b59f2434c8f706902df65ee5c2d
treee6360c92e84b1728ff0f1a86b0ceaba8468e3c9f
parent198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* values.c (register_value_being_returned): Update comments.  Use
"gdbarch_return_value" when available.
(using_struct_return): Ditto.
(set_return_value): Ditto.  Use "gdbarch_return_value" when
available..  Print a warning, and not an error, when an unhandled
return type is encountered.
* infcmd.c: Include "gdb_assert.h".
(print_return_value): When gdbarch_return_value_p, and using
struct return, assume that the value is not available.
* defs.h (return_value_convention): Define.
* gdbarch.sh (gdbarch_return_value): New predicate method.
* gdbarch.h, gdbarch.c: Re-generate
* ppc-sysv-tdep.c (return_value_convention): Delete definition.

Index: doc/ChangeLog
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
gdbarch_return_value.  Add cross references from
USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and
STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS.
gdb/ChangeLog
gdb/defs.h
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infcmd.c
gdb/ppc-sysv-tdep.c
gdb/values.c