aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-17 20:17:40 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-17 20:17:40 +0000
commit444a1e2eb8c412b0e945b1521b9b2c0bbcd5f767 (patch)
tree2f7acd1de3fbfce7e82ddbe9a0bfa9bbd7a4469e /gdb/infcmd.c
parentdef7e6eddebb87f7304b3d0ef7ca0427d5056300 (diff)
downloadgdb-444a1e2eb8c412b0e945b1521b9b2c0bbcd5f767.zip
gdb-444a1e2eb8c412b0e945b1521b9b2c0bbcd5f767.tar.gz
gdb-444a1e2eb8c412b0e945b1521b9b2c0bbcd5f767.tar.bz2
2004-01-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. * gdbarch.h, gdbarch.c: Re-generate. * infcmd.c (print_return_value): Delete reference to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 2c8631e..d4510e4 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1109,14 +1109,6 @@ print_return_value (int structure_return, struct type *value_type)
error ("Function return value unknown.");
value = value_at (value_type, addr, NULL);
}
- else if (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS_P ())
- {
- char *buf = deprecated_grub_regcache_for_registers (stop_registers);
- CORE_ADDR addr = DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS (buf);
- if (!addr)
- error ("Function return value unknown.");
- value = value_at (value_type, addr, NULL);
- }
else
{
/* It is "struct return" yet the value is being extracted,