Searched refs:bp_tgt (Results 1 - 25 of 41) sorted by relevance

12

/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dmem-break.c40 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 Dx86-nat.h62 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 Dmicroblaze-linux-tdep.c42 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 Dcsky-tdep.c1592 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 Dx86-nat.c213 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 Dm32r-tdep.c80 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 Dnto-procfs.c1035 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 Dtarget.h1622 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 Daarch64-linux-nat.c732 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 Drecord-full.c1768 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 Darm-linux-nat.c874 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 Ds390-linux-nat.c901 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 Dppc-linux-nat.c2189 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 Dmem-break.c40 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 Dx86-nat.h67 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 Daarch64-nat.h67 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 Dx86-nat.c155 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 Dmicroblaze-linux-tdep.c42 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 Daarch64-nat.c105 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 Dm32r-tdep.c80 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 Dnto-procfs.c1013 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 Drecord-full.c1746 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 Darm-linux-nat.c874 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 Dtarget.h1663 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 Ds390-linux-nat.c900 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

Completed in 348 milliseconds

12