summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-01 19:58:55 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-01 19:58:55 +0000
commit6b5464b53b7897b221fbfb18726b9b6500025e33 (patch)
treebf1c35ac188426b756c26ddcd7b76f7140e1fd19 /gdb/target.h
parent417d6646ecb00c87e81dec50f2638b1b11be0904 (diff)
downloadgdb-6b5464b53b7897b221fbfb18726b9b6500025e33.tar.gz
2005-05-01 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_extract_return_value) (breakpoint_from_pc, deprecated_store_return_value) (memory_insert_breakpoint, memory_remove_breakpoint): Change type of buffer to a bfd_byte pointer. * gdbarch.h, gdbarch.c: Re-generate. * mem-break.c (memory_insert_breakpoint) (memory_remove_breakpoint, default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Update. * target.h (memory_insert_breakpoint) (memory_remove_breakpoint, default_memory_insert_breakpoint) (default_memory_remove_breakpoint): Update declarations. (struct target_ops): Update to_insert_breakpoint and to_remove_breakpoint. * target.c (debug_to_remove_breakpoint) (debug_to_insert_breakpoint): Update. * remote-m32r-sdi.c (m32r_remove_breakpoint) (m32r_insert_breakpoint): Update. * m32r-tdep.c (m32r_memory_insert_breakpoint) (m32r_memory_remove_breakpoint): Update. * remote-e7000.c (e7000_insert_breakpoint) (e7000_remove_breakpoint): Update. * remote-rdi.c (arm_rdi_insert_breakpoint) (arm_rdi_remove_breakpoint): Update. * remote-sim.c (gdbsim_insert_breakpoint) (gdbsim_remove_breakpoint): Update. * exec.c (ignore): Update. * rs6000-tdep.c (rs6000_extract_return_value): Update. * ia64-tdep.c (ia64_memory_insert_breakpoint) (ia64_memory_remove_breakpoint): Update. * remote-rdp.c (remote_rdp_insert_breakpoint) (remote_rdp_remove_breakpoint): Update.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 1578ddb7b98..0e45d042dd5 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -335,8 +335,8 @@ struct target_ops
struct target_ops *target);
void (*to_files_info) (struct target_ops *);
- int (*to_insert_breakpoint) (CORE_ADDR, char *);
- int (*to_remove_breakpoint) (CORE_ADDR, char *);
+ int (*to_insert_breakpoint) (CORE_ADDR, bfd_byte *);
+ int (*to_remove_breakpoint) (CORE_ADDR, bfd_byte *);
int (*to_can_use_hw_breakpoint) (int, int, int);
int (*to_insert_hw_breakpoint) (CORE_ADDR, char *);
int (*to_remove_hw_breakpoint) (CORE_ADDR, char *);
@@ -1137,13 +1137,13 @@ struct section_table *target_section_by_addr (struct target_ops *target,
/* From mem-break.c */
-extern int memory_remove_breakpoint (CORE_ADDR, char *);
+extern int memory_remove_breakpoint (CORE_ADDR, bfd_byte *);
-extern int memory_insert_breakpoint (CORE_ADDR, char *);
+extern int memory_insert_breakpoint (CORE_ADDR, bfd_byte *);
-extern int default_memory_remove_breakpoint (CORE_ADDR, char *);
+extern int default_memory_remove_breakpoint (CORE_ADDR, bfd_byte *);
-extern int default_memory_insert_breakpoint (CORE_ADDR, char *);
+extern int default_memory_insert_breakpoint (CORE_ADDR, bfd_byte *);
/* From target.c */