diff options
author | Yao Qi <yao@codesourcery.com> | 2012-08-08 05:47:57 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-08-08 05:47:57 +0000 |
commit | ab854e54510727ba4db85875159f796e652e0b54 (patch) | |
tree | c098ef68344feda2c97afd3adf8414fca3fb8f0b /gdb/tic6x-tdep.c | |
parent | 684147fad0b0db59eee6b679d0ab090294b80c5d (diff) | |
download | gdb-ab854e54510727ba4db85875159f796e652e0b54.zip gdb-ab854e54510727ba4db85875159f796e652e0b54.tar.gz gdb-ab854e54510727ba4db85875159f796e652e0b54.tar.bz2 |
gdb/
* tic6x-tdep.c (tic6x_register_to_value): Remove.
(tic6x_value_to_register): Likewise.
(tic6x_gdbarch_init): Don't call set_gdbarch_register_to_value
and set_gdbarch_value_to_register.
Diffstat (limited to 'gdb/tic6x-tdep.c')
-rw-r--r-- | gdb/tic6x-tdep.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c index 1fefcf3..a8d518d 100644 --- a/gdb/tic6x-tdep.c +++ b/gdb/tic6x-tdep.c @@ -715,27 +715,6 @@ tic6x_frame_align (struct gdbarch *gdbarch, CORE_ADDR addr) return align_down (addr, 8); } -/* This is the implementation of gdbarch method register_to_value. */ - -static int -tic6x_register_to_value (struct frame_info *frame, int regnum, - struct type *type, gdb_byte * to, - int *optimizedp, int *unavailablep) -{ - get_frame_register (frame, regnum, (char *) to); - *optimizedp = *unavailablep = 0; - return 1; -} - -/* This is the implementation of gdbarch method value_to_register. */ - -static void -tic6x_value_to_register (struct frame_info *frame, int regnum, - struct type *type, const gdb_byte *from) -{ - put_frame_register (frame, regnum, from); -} - /* Given a return value in REGCACHE with a type VALTYPE, extract and copy its value into VALBUF. */ @@ -1341,9 +1320,6 @@ tic6x_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Call dummy code. */ set_gdbarch_frame_align (gdbarch, tic6x_frame_align); - set_gdbarch_register_to_value (gdbarch, tic6x_register_to_value); - set_gdbarch_value_to_register (gdbarch, tic6x_value_to_register); - set_gdbarch_return_value (gdbarch, tic6x_return_value); set_gdbarch_dummy_id (gdbarch, tic6x_dummy_id); |