summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-18 09:53:47 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-18 09:53:47 +0000
commitdcc8abceed4c9faf9285018a46bede3a39161471 (patch)
tree0e2448480df858b02a01849c1703d9f30175d407 /gdb/target.h
parentc35475f9be6ff8985434778480594c62c7a0182d (diff)
downloadbinutils-gdb-dcc8abceed4c9faf9285018a46bede3a39161471.tar.gz
* target.h (struct target_ops): removed to_convert_to_virtual and
to_convert_from_virtual elements. Initializations removed from all static initializations. (target_convert_to_virtual, target_convert_from_virtual): removed. (host_convert_to_virtual, host_convert_from_virtual): Removed forward declarations. * target.c (cleanup_target): removed default assignments for to_convert_to_virtual and to_convert_from_virtual. * inftarg.c (host_convert_to_virtual, host_convert_from_virtual): removed. * findvar.c (value_of_register, value_from_register): target_convert_to_virtual inlined. * infcmd.c (do_registers_info): target_convert_to_virtual inlined. * valops.c (value_assign): target_convert_from_virtual inlined.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h27
1 files changed, 5 insertions, 22 deletions
diff --git a/gdb/target.h b/gdb/target.h
index d4437ad73bd..3ed9f8b90cf 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -65,8 +65,6 @@ struct target_ops
void (*to_fetch_registers) PARAMS ((int));
void (*to_store_registers) PARAMS ((int));
void (*to_prepare_to_store) PARAMS ((void));
- void (*to_convert_to_virtual) PARAMS ((int, char *, char *));
- void (*to_convert_from_virtual) PARAMS ((int, char *, char *));
int (*to_xfer_memory) PARAMS ((CORE_ADDR, char *, int, int,
struct target_ops *));
void (*to_files_info) PARAMS ((struct target_ops *));
@@ -179,18 +177,6 @@ extern struct target_ops *current_target;
#define target_prepare_to_store() \
(*current_target->to_prepare_to_store) ()
-/* Convert data from raw format for register REGNUM
- to virtual format for register REGNUM. */
-
-#define target_convert_to_virtual(regnum, from, to) \
- (*current_target->to_convert_to_virtual) (regnum, from, to)
-
-/* Convert data from virtual format for register REGNUM
- to raw format for register REGNUM. */
-
-#define target_convert_from_virtual(regnum, from, to) \
- (*current_target->to_convert_from_virtual) (regnum, from, to)
-
/* Reading and writing memory actually happens through a glue
function which iterates across the various targets. Result is
0 for success, or an errno value. */
@@ -395,14 +381,6 @@ extern int
build_section_table PARAMS ((bfd *, struct section_table **,
struct section_table **));
-/* From inftarg.c */
-
-extern void
-host_convert_from_virtual PARAMS ((int, char *, char *));
-
-extern void
-host_convert_to_virtual PARAMS ((int, char *, char *));
-
/* From mem-break.c */
extern int
@@ -411,4 +389,9 @@ memory_remove_breakpoint PARAMS ((CORE_ADDR, char *));
extern int
memory_insert_breakpoint PARAMS ((CORE_ADDR, char *));
+/* From target.c */
+
+void
+noprocess PARAMS ((void));
+
#endif /* !defined (TARGET_H) */