diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2005-11-02 15:22:24 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2005-11-02 15:22:24 +0000 |
commit | 18cf8b5b37bea79e24868845c201571abee4d8c5 (patch) | |
tree | d0896a67f046a297305da634fd3c0d9618cc5a75 /gdb/monitor.c | |
parent | e0ac7199c40d6c47ca1473fd2683e1e72fa19bc9 (diff) | |
download | gdb-18cf8b5b37bea79e24868845c201571abee4d8c5.zip gdb-18cf8b5b37bea79e24868845c201571abee4d8c5.tar.gz gdb-18cf8b5b37bea79e24868845c201571abee4d8c5.tar.bz2 |
2005-11-02 Andrew Stubbs <andrew.stubbs@st.com>
* monitor.c (monitor_xfer_memory): Change char to gdb_byte.
(monitor_insert_breakpoint): Likewise.
(monitor_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
* sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte.
(sh_return_value_fpu): Likewise.
(sh_pseudo_register_read): Likewise.
(sh_pseudo_register_write): Likewise.
(sh_frame_prev_register): Likewise.
* sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte.
(sh64_return_value): Change void to gdb_byte.
(sh64_pseudo_register_read): Likewise.
(sh64_pseudo_register_write): Likewise.
(sh64_frame_prev_register): Likewise.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index c805eb4..fe856c0 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -80,13 +80,13 @@ static ptid_t monitor_wait (ptid_t ptid, struct target_waitstatus *status); static void monitor_fetch_registers (int regno); static void monitor_store_registers (int regno); static void monitor_prepare_to_store (void); -static int monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, +static int monitor_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target); static void monitor_files_info (struct target_ops *ops); -static int monitor_insert_breakpoint (CORE_ADDR addr, char *shadow); -static int monitor_remove_breakpoint (CORE_ADDR addr, char *shadow); +static int monitor_insert_breakpoint (CORE_ADDR addr, gdb_byte *shadow); +static int monitor_remove_breakpoint (CORE_ADDR addr, gdb_byte *shadow); static void monitor_kill (void); static void monitor_load (char *file, int from_tty); static void monitor_mourn_inferior (void); @@ -1982,7 +1982,7 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len) unused. */ static int -monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, +monitor_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target) { int res; @@ -2038,7 +2038,7 @@ monitor_mourn_inferior (void) /* Tell the monitor to add a breakpoint. */ static int -monitor_insert_breakpoint (CORE_ADDR addr, char *shadow) +monitor_insert_breakpoint (CORE_ADDR addr, gdb_byte *shadow) { int i; const unsigned char *bp; @@ -2072,7 +2072,7 @@ monitor_insert_breakpoint (CORE_ADDR addr, char *shadow) /* Tell the monitor to remove a breakpoint. */ static int -monitor_remove_breakpoint (CORE_ADDR addr, char *shadow) +monitor_remove_breakpoint (CORE_ADDR addr, gdb_byte *shadow) { int i; |