aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
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.c
parentc35475f9be6ff8985434778480594c62c7a0182d (diff)
downloadgdb-dcc8abceed4c9faf9285018a46bede3a39161471.zip
gdb-dcc8abceed4c9faf9285018a46bede3a39161471.tar.gz
gdb-dcc8abceed4c9faf9285018a46bede3a39161471.tar.bz2
* 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.c')
-rw-r--r--gdb/target.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 93bb64e..667ee65 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -78,7 +78,7 @@ unsigned target_struct_allocsize;
struct target_ops dummy_target = {"None", "None", "",
0, 0, 0, 0, /* open, close, attach, detach */
0, 0, /* resume, wait */
- 0, 0, 0, 0, 0, /* registers */
+ 0, 0, 0, /* registers */
0, 0, /* memory */
0, 0, /* bkpts */
0, 0, 0, 0, 0, /* terminal */
@@ -309,8 +309,6 @@ cleanup_target (t)
de_fault (to_fetch_registers, (void (*)())ignore);
de_fault (to_store_registers, (void (*)())noprocess);
de_fault (to_prepare_to_store, (void (*)())noprocess);
- de_fault (to_convert_to_virtual, host_convert_to_virtual);
- de_fault (to_convert_from_virtual, host_convert_from_virtual);
de_fault (to_xfer_memory, (int (*)())nomemory);
de_fault (to_files_info, (void (*)())ignore);
de_fault (to_insert_breakpoint, memory_insert_breakpoint);