Home
last modified time | relevance | path

Searched refs:bp_tgt (Results 1 – 21 of 21) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/
Dmem-break.c39 struct bp_target_info *bp_tgt) in default_memory_insert_breakpoint() argument
41 CORE_ADDR addr = bp_tgt->placed_address; in default_memory_insert_breakpoint()
48 bp = gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); in default_memory_insert_breakpoint()
64 bp_tgt->shadow_len = bplen; in default_memory_insert_breakpoint()
65 memcpy (bp_tgt->shadow_contents, readbuf, bplen); in default_memory_insert_breakpoint()
76 struct bp_target_info *bp_tgt) in default_memory_remove_breakpoint() argument
80 gdbarch_sw_breakpoint_from_kind (gdbarch, bp_tgt->kind, &bplen); in default_memory_remove_breakpoint()
82 return target_write_raw_memory (bp_tgt->placed_address, bp_tgt->shadow_contents, in default_memory_remove_breakpoint()
89 struct bp_target_info *bp_tgt) in memory_insert_breakpoint() argument
91 return gdbarch_memory_insert_breakpoint (gdbarch, bp_tgt); in memory_insert_breakpoint()
[all …]
Dx86-nat.h67 struct bp_target_info *bp_tgt);
69 struct bp_target_info *bp_tgt);
97 struct bp_target_info *bp_tgt) override in insert_hw_breakpoint()
98 { return x86_insert_hw_breakpoint (gdbarch, bp_tgt); } in insert_hw_breakpoint()
101 struct bp_target_info *bp_tgt) override in remove_hw_breakpoint()
102 { return x86_remove_hw_breakpoint (gdbarch, bp_tgt); } in remove_hw_breakpoint()
Daarch64-nat.h59 struct bp_target_info *bp_tgt);
61 struct bp_target_info *bp_tgt);
89 struct bp_target_info *bp_tgt) override in insert_hw_breakpoint()
90 { return aarch64_insert_hw_breakpoint (gdbarch, bp_tgt); } in insert_hw_breakpoint()
93 struct bp_target_info *bp_tgt) override in remove_hw_breakpoint()
94 { return aarch64_remove_hw_breakpoint (gdbarch, bp_tgt); } in remove_hw_breakpoint()
Dx86-nat.c154 x86_insert_hw_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) in x86_insert_hw_breakpoint() argument
159 bp_tgt->placed_address = bp_tgt->reqstd_address; in x86_insert_hw_breakpoint()
161 bp_tgt->placed_address, 1) ? EBUSY : 0; in x86_insert_hw_breakpoint()
169 struct bp_target_info *bp_tgt) in x86_remove_hw_breakpoint() argument
175 bp_tgt->placed_address, 1); in x86_remove_hw_breakpoint()
Daarch64-nat.c104 struct bp_target_info *bp_tgt) in aarch64_insert_hw_breakpoint() argument
107 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; in aarch64_insert_hw_breakpoint()
137 struct bp_target_info *bp_tgt) in aarch64_remove_hw_breakpoint() argument
140 CORE_ADDR addr = bp_tgt->placed_address; in aarch64_remove_hw_breakpoint()
Dmicroblaze-linux-tdep.c41 struct bp_target_info *bp_tgt) in microblaze_linux_memory_remove_breakpoint() argument
43 CORE_ADDR addr = bp_tgt->reqstd_address; in microblaze_linux_memory_remove_breakpoint()
58 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in microblaze_linux_memory_remove_breakpoint()
Dm32r-tdep.c80 struct bp_target_info *bp_tgt) in m32r_memory_insert_breakpoint() argument
82 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; in m32r_memory_insert_breakpoint()
93 memcpy (bp_tgt->shadow_contents, contents_cache, 4); in m32r_memory_insert_breakpoint()
94 bp_tgt->shadow_len = 4; in m32r_memory_insert_breakpoint()
139 struct bp_target_info *bp_tgt) in m32r_memory_remove_breakpoint() argument
141 CORE_ADDR addr = bp_tgt->placed_address; in m32r_memory_remove_breakpoint()
144 gdb_byte *contents_cache = bp_tgt->shadow_contents; in m32r_memory_remove_breakpoint()
Dnto-procfs.c1013 struct bp_target_info *bp_tgt) in insert_breakpoint() argument
1015 bp_tgt->placed_address = bp_tgt->reqstd_address; in insert_breakpoint()
1016 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, 0); in insert_breakpoint()
1021 struct bp_target_info *bp_tgt, in remove_breakpoint() argument
1024 return procfs_breakpoint (bp_tgt->placed_address, _DEBUG_BREAK_EXEC, -1); in remove_breakpoint()
1029 struct bp_target_info *bp_tgt) in insert_hw_breakpoint() argument
1031 bp_tgt->placed_address = bp_tgt->reqstd_address; in insert_hw_breakpoint()
1032 return procfs_breakpoint (bp_tgt->placed_address, in insert_hw_breakpoint()
1038 struct bp_target_info *bp_tgt) in remove_hw_breakpoint() argument
1040 return procfs_breakpoint (bp_tgt->placed_address, in remove_hw_breakpoint()
Dtarget.h1695 struct bp_target_info *bp_tgt);
1701 struct bp_target_info *bp_tgt,
2131 bp_target_info *bp_tgt);
2134 bp_target_info *bp_tgt);
2467 struct bp_target_info *bp_tgt) override in insert_breakpoint()
2468 { return memory_insert_breakpoint (this, gdbarch, bp_tgt); } in insert_breakpoint()
2471 struct bp_target_info *bp_tgt, in remove_breakpoint()
2473 { return memory_remove_breakpoint (this, gdbarch, bp_tgt, reason); } in remove_breakpoint()
2480 struct bp_target_info *bp_tgt);
Darm-linux-nat.c890 struct bp_target_info *bp_tgt, in arm_linux_hw_breakpoint_initialize() argument
894 CORE_ADDR address = bp_tgt->placed_address = bp_tgt->reqstd_address; in arm_linux_hw_breakpoint_initialize()
1063 struct bp_target_info *bp_tgt) in insert_hw_breakpoint() argument
1070 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); in insert_hw_breakpoint()
1080 struct bp_target_info *bp_tgt) in remove_hw_breakpoint() argument
1087 arm_linux_hw_breakpoint_initialize (gdbarch, bp_tgt, &p); in remove_hw_breakpoint()
Drecord-full.c1761 struct bp_target_info *bp_tgt) in insert_breakpoint() argument
1776 int ret = this->beneath ()->insert_breakpoint (gdbarch, bp_tgt); in insert_breakpoint()
1788 if (bp.addr == bp_tgt->placed_address in insert_breakpoint()
1789 && bp.address_space == bp_tgt->placed_address_space) in insert_breakpoint()
1796 record_full_breakpoints.emplace_back (bp_tgt->placed_address_space, in insert_breakpoint()
1797 bp_tgt->placed_address, in insert_breakpoint()
1806 struct bp_target_info *bp_tgt, in remove_breakpoint() argument
1815 if (bp.addr == bp_tgt->placed_address in remove_breakpoint()
1816 && bp.address_space == bp_tgt->placed_address_space) in remove_breakpoint()
1823 int ret = this->beneath ()->remove_breakpoint (gdbarch, bp_tgt, in remove_breakpoint()
[all …]
Ds390-linux-nat.c900 struct bp_target_info *bp_tgt) in insert_hw_breakpoint() argument
905 area.lo_addr = bp_tgt->placed_address = bp_tgt->reqstd_address; in insert_hw_breakpoint()
917 struct bp_target_info *bp_tgt) in remove_hw_breakpoint() argument
926 if (area.lo_addr == bp_tgt->placed_address) in remove_hw_breakpoint()
Dppc-linux-nat.c2200 struct bp_target_info *bp_tgt) in insert_hw_breakpoint() argument
2212 p.addr = (uint64_t) (bp_tgt->placed_address = bp_tgt->reqstd_address); in insert_hw_breakpoint()
2215 if (bp_tgt->length) in insert_hw_breakpoint()
2221 p.addr2 = (uint64_t) bp_tgt->placed_address + bp_tgt->length; in insert_hw_breakpoint()
2241 struct bp_target_info *bp_tgt) in remove_hw_breakpoint() argument
2253 p.addr = (uint64_t) bp_tgt->placed_address; in remove_hw_breakpoint()
2256 if (bp_tgt->length) in remove_hw_breakpoint()
2262 p.addr2 = (uint64_t) bp_tgt->placed_address + bp_tgt->length; in remove_hw_breakpoint()
Dia64-tdep.c643 struct bp_target_info *bp_tgt) in ia64_memory_insert_breakpoint() argument
645 CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address; in ia64_memory_insert_breakpoint()
674 bp_tgt->shadow_len = BUNDLE_LEN - shadow_slotnum; in ia64_memory_insert_breakpoint()
697 memcpy (bp_tgt->shadow_contents, bundle + shadow_slotnum, in ia64_memory_insert_breakpoint()
698 bp_tgt->shadow_len); in ia64_memory_insert_breakpoint()
720 paddress (gdbarch, bp_tgt->placed_address)); in ia64_memory_insert_breakpoint()
724 bp_tgt->shadow_len); in ia64_memory_insert_breakpoint()
731 struct bp_target_info *bp_tgt) in ia64_memory_remove_breakpoint() argument
733 CORE_ADDR addr = bp_tgt->placed_address; in ia64_memory_remove_breakpoint()
768 paddress (gdbarch, bp_tgt->placed_address)); in ia64_memory_remove_breakpoint()
[all …]
Dtarget.c541 target_insert_hw_breakpoint (gdbarch *gdbarch, bp_target_info *bp_tgt) in target_insert_hw_breakpoint() argument
545 return target->insert_hw_breakpoint (gdbarch, bp_tgt); in target_insert_hw_breakpoint()
551 target_remove_hw_breakpoint (gdbarch *gdbarch, bp_target_info *bp_tgt) in target_remove_hw_breakpoint() argument
555 return target->remove_hw_breakpoint (gdbarch, bp_tgt); in target_remove_hw_breakpoint()
2357 struct bp_target_info *bp_tgt) in target_insert_breakpoint() argument
2367 return target->insert_breakpoint (gdbarch, bp_tgt); in target_insert_breakpoint()
2374 struct bp_target_info *bp_tgt, in target_remove_breakpoint() argument
2389 return target->remove_breakpoint (gdbarch, bp_tgt, reason); in target_remove_breakpoint()
Dremote.c10946 struct bp_target_info *bp_tgt, char *buf, in remote_add_target_side_condition() argument
10949 if (bp_tgt->conditions.empty ()) in remote_add_target_side_condition()
10957 for (agent_expr *aexpr : bp_tgt->conditions) in remote_add_target_side_condition()
10970 struct bp_target_info *bp_tgt, char *buf) in remote_add_target_side_commands() argument
10972 if (bp_tgt->tcommands.empty ()) in remote_add_target_side_commands()
10977 sprintf (buf, ";cmds:%x,", bp_tgt->persist); in remote_add_target_side_commands()
10982 for (agent_expr *aexpr : bp_tgt->tcommands) in remote_add_target_side_commands()
10998 struct bp_target_info *bp_tgt) in insert_breakpoint() argument
11007 CORE_ADDR addr = bp_tgt->reqstd_address; in insert_breakpoint()
11025 xsnprintf (p, endbuf - p, ",%d", bp_tgt->kind); in insert_breakpoint()
[all …]
Dppc-linux-tdep.c222 struct bp_target_info *bp_tgt) in ppc_linux_memory_remove_breakpoint() argument
224 CORE_ADDR addr = bp_tgt->reqstd_address; in ppc_linux_memory_remove_breakpoint()
242 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in ppc_linux_memory_remove_breakpoint()
Dgdbarch-gen.h586 … (gdbarch_memory_insert_breakpoint_ftype) (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt);
587 extern int gdbarch_memory_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt
590 … (gdbarch_memory_remove_breakpoint_ftype) (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt);
591 extern int gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt
Drecord-btrace.c1487 struct bp_target_info *bp_tgt) in insert_breakpoint() argument
1500 ret = this->beneath ()->insert_breakpoint (gdbarch, bp_tgt); in insert_breakpoint()
1516 struct bp_target_info *bp_tgt, in remove_breakpoint() argument
1530 ret = this->beneath ()->remove_breakpoint (gdbarch, bp_tgt, reason); in remove_breakpoint()
Dgdbarch.c2901 gdbarch_memory_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) in gdbarch_memory_insert_breakpoint() argument
2907 return gdbarch->memory_insert_breakpoint (gdbarch, bp_tgt); in gdbarch_memory_insert_breakpoint()
2918 gdbarch_memory_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) in gdbarch_memory_remove_breakpoint() argument
2924 return gdbarch->memory_remove_breakpoint (gdbarch, bp_tgt); in gdbarch_memory_remove_breakpoint()
DChangeLog-20162191 * remote.c (remote_add_target_side_condition): bp_tgt->conditions
2194 bp_tgt->tcommands is now a std::vector; adjust.
3056 bp_tgt->placed_size.
3058 bp_tgt->placed_size.
3062 bp_tgt->placed_size.
3064 bp_tgt->placed_size. Call gdbarch_sw_breakpoint_from_kind.
3067 (memory_validate_breakpoint): Don't check bp_tgt->placed_size.
3072 gdbarch_breakpoint_from_pc. Don't set bp_tgt->placed_address
3073 and bp_tgt->placed_size.
3075 gdbarch_remote_breakpoint_from_pc. Use bp_tgt->placed_size.
[all …]