aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-04-23 02:54:21 +0000
committerRandolph Chung <tausq@debian.org>2004-04-23 02:54:21 +0000
commitabc485a155fa7a84d07dc3cf376f3be050602cc9 (patch)
tree0c05d4eb95773ce30180657d396c57f498ace187 /gdb/hppa-tdep.h
parent369aa5203706c51ab15c9ecc8edfff92c4e10d69 (diff)
downloadgdb-abc485a155fa7a84d07dc3cf376f3be050602cc9.zip
gdb-abc485a155fa7a84d07dc3cf376f3be050602cc9.tar.gz
gdb-abc485a155fa7a84d07dc3cf376f3be050602cc9.tar.bz2
2004-04-22 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) (hppa_sign_extend): Add prototype. * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) (sign_extend): Rename with hppa_ prefix and make non-static. Other hppa targets will also use these functions. (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c (hppa_gdbarch_init): Remove gdbarch setting of skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline. * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) (hppa64_hpux_in_solib_call_trampoline): New functions, split from hppa_in_solib_call_trampoline. (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): Moved from hppa-tdep.c. (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 80742f0..48ea353 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -104,6 +104,8 @@ enum unwind_stub_types
IMPORT_SHLIB = 12,
};
+struct unwind_table_entry *find_unwind_entry (CORE_ADDR);
+
/* We use the objfile->obj_private pointer for two things:
* 1. An unwind table;
*
@@ -134,4 +136,14 @@ struct hppa_objfile_private
extern const struct objfile_data *hppa_objfile_priv_data;
+int hppa_get_field (unsigned word, int from, int to);
+int hppa_extract_5_load (unsigned int);
+unsigned hppa_extract_5R_store (unsigned int);
+unsigned hppa_extract_5r_store (unsigned int);
+int hppa_extract_17 (unsigned int);
+int hppa_extract_21 (unsigned);
+int hppa_extract_14 (unsigned);
+int hppa_low_sign_extend (unsigned int, unsigned int);
+int hppa_sign_extend (unsigned int, unsigned int);
+
#endif /* HPPA_TDEP_H */