aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-18 16:09:04 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-18 16:09:04 +0000
commit61d8d407cd6459f2b790e91b5e244440a3015786 (patch)
treea780fcec5901d85ad05928fa639841f17d4842e6
parent0c52bd593a665a1301083a57d69df9c8a357a2c1 (diff)
downloadgdb-61d8d407cd6459f2b790e91b5e244440a3015786.zip
gdb-61d8d407cd6459f2b790e91b5e244440a3015786.tar.gz
gdb-61d8d407cd6459f2b790e91b5e244440a3015786.tar.bz2
2002-08-18 Andrew Cagney <ac131313@redhat.com>
* config/pa/tm-hppa.h (hppa_store_return_value): Declare. (hppa_value_returned_from_stack): Declare. (hppa_extract_return_value): Declare. * config/pa/hppa.mt: New file. * configure.tgt: Recognize hppa*-*-*. * MAINTAINERS: Change HPPA target to hppa-elf. Still broken.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/MAINTAINERS2
-rw-r--r--gdb/config/pa/hppa.mt2
-rw-r--r--gdb/config/pa/tm-hppa.h5
-rw-r--r--gdb/configure.tgt1
5 files changed, 18 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index df930de..2257b72 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2002-08-18 Andrew Cagney <ac131313@redhat.com>
+
+ * config/pa/tm-hppa.h (hppa_store_return_value): Declare.
+ (hppa_value_returned_from_stack): Declare.
+ (hppa_extract_return_value): Declare.
+ * config/pa/hppa.mt: New file.
+ * configure.tgt: Recognize hppa*-*-*.
+ * MAINTAINERS: Change HPPA target to hppa-elf. Still broken.
+
2002-08-18 Mark Kettenis <kettenis@gnu.org>
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 89eeae8..efdc21b 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -127,7 +127,7 @@ maintainer works with the native maintainer when resolving API issues.
ns32k --target=ns32k-netbsd ,-Werror
Maintenance only
- pa (--target=hppa1.1-hp-proelf broken)
+ pa (--target=hppa-elf broken)
Maintenance only
OBSOLETE candidate, not multi-arch
diff --git a/gdb/config/pa/hppa.mt b/gdb/config/pa/hppa.mt
new file mode 100644
index 0000000..be77892
--- /dev/null
+++ b/gdb/config/pa/hppa.mt
@@ -0,0 +1,2 @@
+TDEPFILES= hppa-tdep.o
+TM_FILE= tm-hppa.h
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 0570e6f..e786822 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -310,6 +310,7 @@ extern void pa_do_strcat_registers_info (int, int, struct ui_file *, enum precis
a function return value of type TYPE, and copy that, in virtual format,
into VALBUF. */
+void hppa_extract_return_value (struct type *type, char *regbuf, char *valbuf);
#define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
hppa_extract_return_value (TYPE, REGBUF, VALBUF);
@@ -330,6 +331,8 @@ extern use_struct_convention_fn hppa_use_struct_convention;
/* Write into appropriate registers a function return value
of type TYPE, given in virtual format. */
+
+extern void hppa_store_return_value (struct type *type, char *valbuf);
#define STORE_RETURN_VALUE(TYPE,VALBUF) \
hppa_store_return_value (TYPE, VALBUF);
@@ -350,6 +353,8 @@ extern use_struct_convention_fn hppa_use_struct_convention;
specified in the calling convention doc. As far as I know, the only
way to get the return value is to have the caller tell us where it
told the callee to put it, rather than have the callee tell us. */
+struct value *hppa_value_returned_from_stack (register struct type *valtype,
+ CORE_ADDR addr);
#define VALUE_RETURNED_FROM_STACK(valtype,addr) \
hppa_value_returned_from_stack (valtype, addr)
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 999e2c8..8c9c741 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -83,6 +83,7 @@ hppa*64*-*-hpux11*) gdb_target=hppa64 ;;
hppa*-*-hpux*) gdb_target=hppahpux ;;
hppa*-*-hiux*) gdb_target=hppahpux ;;
hppa*-*-osf*) gdb_target=hppaosf ;;
+hppa*-*-*) gdb_target=hppa ;;
i[3456]86-sequent-bsd*) gdb_target=symmetry ;;
i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;