/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | mem-break.c | 40 struct bp_target_info *bp_tgt) 42 CORE_ADDR addr = bp_tgt->placed_address; 49 bp = gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); 65 bp_tgt->shadow_len = bplen; 66 memcpy (bp_tgt->shadow_contents, readbuf, bplen); 77 struct bp_target_info *bp_tgt) 81 gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); 83 return target_write_raw_memory (bp_tgt->placed_address, bp_tgt->shadow_contents, 90 struct bp_target_info *bp_tgt) 39 default_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 76 default_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 89 memory_insert_breakpoint(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 96 memory_remove_breakpoint(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 104 memory_validate_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
H A D | x86-nat.h | 62 struct bp_target_info *bp_tgt); 64 struct bp_target_info *bp_tgt); 92 struct bp_target_info *bp_tgt) override 93 { return x86_insert_hw_breakpoint (gdbarch, bp_tgt); } 96 struct bp_target_info *bp_tgt) override 97 { return x86_remove_hw_breakpoint (gdbarch, bp_tgt); }
|
H A D | microblaze-linux-tdep.c | 42 struct bp_target_info *bp_tgt) 44 CORE_ADDR addr = bp_tgt->reqstd_address; 59 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); 41 microblaze_linux_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | csky-tdep.c | 1592 struct bp_target_info *bp_tgt) 1601 if (bp_tgt->reqstd_address % 2) 1603 (unsigned int) bp_tgt->reqstd_address); 1608 bp_tgt->kind = csky_breakpoint_kind_from_pc (gdbarch, 1609 &bp_tgt->reqstd_address); 1612 bp_tgt->shadow_len = bp_tgt->kind; 1614 /* Fill bp_tgt->placed_address. */ 1615 bp_tgt->placed_address = bp_tgt 1591 csky_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1717 csky_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
H A D | x86-nat.c | 213 x86_insert_hw_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 218 bp_tgt->placed_address = bp_tgt->reqstd_address; 220 bp_tgt->placed_address, 1) ? EBUSY : 0; 228 struct bp_target_info *bp_tgt) 234 bp_tgt->placed_address, 1); 227 x86_remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | m32r-tdep.c | 80 struct bp_target_info *bp_tgt) 82 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 93 memcpy (bp_tgt->shadow_contents, contents_cache, 4); 94 bp_tgt->shadow_len = 4; 139 struct bp_target_info *bp_tgt) 141 CORE_ADDR addr = bp_tgt->placed_address; 144 gdb_byte *contents_cache = bp_tgt->shadow_contents; 79 m32r_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 138 m32r_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | nto-procfs.c | 1035 struct bp_target_info *bp_tgt) 1037 bp_tgt->placed_address = bp_tgt->reqstd_address; 1038 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, 0); 1043 struct bp_target_info *bp_tgt, 1046 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, -1); 1051 struct bp_target_info *bp_tgt) 1053 bp_tgt->placed_address = bp_tgt->reqstd_address; 1054 return procfs_breakpoint (bp_tgt 1034 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1042 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 1050 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1059 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
H A D | target.h | 1622 struct bp_target_info *bp_tgt); 1628 struct bp_target_info *bp_tgt, 2090 #define target_insert_hw_breakpoint(gdbarch, bp_tgt) \ 2091 (current_top_target ()->insert_hw_breakpoint) (gdbarch, bp_tgt) 2093 #define target_remove_hw_breakpoint(gdbarch, bp_tgt) \ 2094 (current_top_target ()->remove_hw_breakpoint) (gdbarch, bp_tgt) 2477 struct bp_target_info *bp_tgt) override 2478 { return memory_insert_breakpoint (this, gdbarch, bp_tgt); } 2481 struct bp_target_info *bp_tgt, 2483 { return memory_remove_breakpoint (this, gdbarch, bp_tgt, reaso [all...] |
H A D | aarch64-linux-nat.c | 732 struct bp_target_info *bp_tgt) 735 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 765 struct bp_target_info *bp_tgt) 768 CORE_ADDR addr = bp_tgt->placed_address; 729 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 762 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | record-full.c | 1768 struct bp_target_info *bp_tgt) 1783 int ret = this->beneath ()->insert_breakpoint (gdbarch, bp_tgt); 1795 if (bp.addr == bp_tgt->placed_address 1796 && bp.address_space == bp_tgt->placed_address_space) 1803 record_full_breakpoints.emplace_back (bp_tgt->placed_address_space, 1804 bp_tgt->placed_address, 1813 struct bp_target_info *bp_tgt, 1822 if (bp.addr == bp_tgt->placed_address 1823 && bp.address_space == bp_tgt->placed_address_space) 1830 int ret = this->beneath ()->remove_breakpoint (gdbarch, bp_tgt, 1767 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1812 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 2236 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 2245 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument [all...] |
H A D | arm-linux-nat.c | 874 struct bp_target_info *bp_tgt, 878 CORE_ADDR address = bp_tgt->placed_address = bp_tgt->reqstd_address; 1047 struct bp_target_info *bp_tgt) 1054 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); 1064 struct bp_target_info *bp_tgt) 1071 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); 873 arm_linux_hw_breakpoint_initialize(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, struct arm_linux_hw_breakpoint *p) argument 1046 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1063 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | s390-linux-nat.c | 901 struct bp_target_info *bp_tgt) 906 area.lo_addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 918 struct bp_target_info *bp_tgt) 927 if (area.lo_addr == bp_tgt->placed_address) 900 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 917 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | ppc-linux-nat.c | 2189 struct bp_target_info *bp_tgt) 2201 p.addr = (uint64_t) (bp_tgt->placed_address = bp_tgt->reqstd_address); 2204 if (bp_tgt->length) 2210 p.addr2 = (uint64_t) bp_tgt->placed_address + bp_tgt->length; 2230 struct bp_target_info *bp_tgt) 2242 p.addr = (uint64_t) bp_tgt->placed_address; 2245 if (bp_tgt->length) 2251 p.addr2 = (uint64_t) bp_tgt 2188 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 2229 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | mem-break.c | 40 struct bp_target_info *bp_tgt) 42 CORE_ADDR addr = bp_tgt->placed_address; 49 bp = gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); 65 bp_tgt->shadow_len = bplen; 66 memcpy (bp_tgt->shadow_contents, readbuf, bplen); 77 struct bp_target_info *bp_tgt) 81 gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); 83 return target_write_raw_memory (bp_tgt->placed_address, bp_tgt->shadow_contents, 90 struct bp_target_info *bp_tgt) 39 default_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 76 default_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 89 memory_insert_breakpoint(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 96 memory_remove_breakpoint(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 104 memory_validate_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
H A D | x86-nat.h | 67 struct bp_target_info *bp_tgt); 69 struct bp_target_info *bp_tgt); 97 struct bp_target_info *bp_tgt) override 98 { return x86_insert_hw_breakpoint (gdbarch, bp_tgt); } 101 struct bp_target_info *bp_tgt) override 102 { return x86_remove_hw_breakpoint (gdbarch, bp_tgt); }
|
H A D | aarch64-nat.h | 67 struct bp_target_info *bp_tgt); 69 struct bp_target_info *bp_tgt); 97 struct bp_target_info *bp_tgt) override 98 { return aarch64_insert_hw_breakpoint (gdbarch, bp_tgt); } 101 struct bp_target_info *bp_tgt) override 102 { return aarch64_remove_hw_breakpoint (gdbarch, bp_tgt); }
|
H A D | x86-nat.c | 155 x86_insert_hw_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 160 bp_tgt->placed_address = bp_tgt->reqstd_address; 162 bp_tgt->placed_address, 1) ? EBUSY : 0; 170 struct bp_target_info *bp_tgt) 176 bp_tgt->placed_address, 1); 169 x86_remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | microblaze-linux-tdep.c | 42 struct bp_target_info *bp_tgt) 44 CORE_ADDR addr = bp_tgt->reqstd_address; 59 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); 41 microblaze_linux_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | aarch64-nat.c | 105 struct bp_target_info *bp_tgt) 108 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 138 struct bp_target_info *bp_tgt) 141 CORE_ADDR addr = bp_tgt->placed_address; 104 aarch64_insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 137 aarch64_remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | m32r-tdep.c | 80 struct bp_target_info *bp_tgt) 82 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 93 memcpy (bp_tgt->shadow_contents, contents_cache, 4); 94 bp_tgt->shadow_len = 4; 139 struct bp_target_info *bp_tgt) 141 CORE_ADDR addr = bp_tgt->placed_address; 144 gdb_byte *contents_cache = bp_tgt->shadow_contents; 79 m32r_memory_insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 138 m32r_memory_remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | nto-procfs.c | 1013 struct bp_target_info *bp_tgt) 1015 bp_tgt->placed_address = bp_tgt->reqstd_address; 1016 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, 0); 1021 struct bp_target_info *bp_tgt, 1024 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, -1); 1029 struct bp_target_info *bp_tgt) 1031 bp_tgt->placed_address = bp_tgt->reqstd_address; 1032 return procfs_breakpoint (bp_tgt 1012 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1020 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 1028 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1037 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument [all...] |
H A D | record-full.c | 1746 struct bp_target_info *bp_tgt) 1761 int ret = this->beneath ()->insert_breakpoint (gdbarch, bp_tgt); 1773 if (bp.addr == bp_tgt->placed_address 1774 && bp.address_space == bp_tgt->placed_address_space) 1781 record_full_breakpoints.emplace_back (bp_tgt->placed_address_space, 1782 bp_tgt->placed_address, 1791 struct bp_target_info *bp_tgt, 1800 if (bp.addr == bp_tgt->placed_address 1801 && bp.address_space == bp_tgt->placed_address_space) 1808 int ret = this->beneath ()->remove_breakpoint (gdbarch, bp_tgt, 1745 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1790 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument 2206 insert_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 2215 remove_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) argument [all...] |
H A D | arm-linux-nat.c | 874 struct bp_target_info *bp_tgt, 878 CORE_ADDR address = bp_tgt->placed_address = bp_tgt->reqstd_address; 1047 struct bp_target_info *bp_tgt) 1054 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); 1064 struct bp_target_info *bp_tgt) 1071 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); 873 arm_linux_hw_breakpoint_initialize(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, struct arm_linux_hw_breakpoint *p) argument 1046 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 1063 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|
H A D | target.h | 1663 struct bp_target_info *bp_tgt); 1669 struct bp_target_info *bp_tgt, 2095 bp_target_info *bp_tgt); 2098 bp_target_info *bp_tgt); 2427 struct bp_target_info *bp_tgt) override 2428 { return memory_insert_breakpoint (this, gdbarch, bp_tgt); } 2431 struct bp_target_info *bp_tgt, 2433 { return memory_remove_breakpoint (this, gdbarch, bp_tgt, reason); } 2440 struct bp_target_info *bp_tgt);
|
H A D | s390-linux-nat.c | 900 struct bp_target_info *bp_tgt) 905 area.lo_addr = bp_tgt->placed_address = bp_tgt->reqstd_address; 917 struct bp_target_info *bp_tgt) 926 if (area.lo_addr == bp_tgt->placed_address) 899 insert_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument 916 remove_hw_breakpoint(struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) argument
|