/dports/devel/gdb/gdb-11.1/gdb/ |
H A D | mem-break.c | 45 int bplen; in default_memory_insert_breakpoint() local 53 readbuf = (gdb_byte *) alloca (bplen); in default_memory_insert_breakpoint() 54 val = target_read_memory (addr, readbuf, bplen); in default_memory_insert_breakpoint() 65 bp_tgt->shadow_len = bplen; in default_memory_insert_breakpoint() 66 memcpy (bp_tgt->shadow_contents, readbuf, bplen); in default_memory_insert_breakpoint() 68 val = target_write_raw_memory (addr, bp, bplen); in default_memory_insert_breakpoint() 79 int bplen; in default_memory_remove_breakpoint() local 84 bplen); in default_memory_remove_breakpoint() 110 int bplen; in memory_validate_breakpoint() local 115 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in memory_validate_breakpoint() [all …]
|
H A D | microblaze-linux-tdep.c | 47 int bplen; in microblaze_linux_memory_remove_breakpoint() local 51 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in microblaze_linux_memory_remove_breakpoint() 53 val = target_read_memory (addr, old_contents, bplen); in microblaze_linux_memory_remove_breakpoint() 58 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in microblaze_linux_memory_remove_breakpoint() 59 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in microblaze_linux_memory_remove_breakpoint()
|
H A D | disasm-selftests.c | 79 int bplen; in print_one_insn_test() local 80 insn = gdbarch_sw_breakpoint_from_kind (gdbarch, 4, &bplen); in print_one_insn_test() 81 len = bplen; in print_one_insn_test() 94 int bplen; in print_one_insn_test() local 96 insn = gdbarch_sw_breakpoint_from_kind (gdbarch, kind, &bplen); in print_one_insn_test() 97 len = bplen; in print_one_insn_test()
|
H A D | ppc-linux-tdep.c | 224 int bplen; in ppc_linux_memory_remove_breakpoint() local 228 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in ppc_linux_memory_remove_breakpoint() 233 val = target_read_memory (addr, old_contents, bplen); in ppc_linux_memory_remove_breakpoint() 238 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in ppc_linux_memory_remove_breakpoint() 239 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in ppc_linux_memory_remove_breakpoint()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | mem-break.c | 49 int bplen; in default_memory_insert_breakpoint() local 52 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in default_memory_insert_breakpoint() 57 val = target_read_memory (addr, contents_cache, bplen); in default_memory_insert_breakpoint() 61 val = target_write_memory (addr, (char *) bp, bplen); in default_memory_insert_breakpoint() 71 int bplen; in default_memory_remove_breakpoint() local 74 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in default_memory_remove_breakpoint() 78 return target_write_memory (addr, contents_cache, bplen); in default_memory_remove_breakpoint()
|
H A D | m32r-tdep.c | 103 int bplen; in m32r_memory_insert_breakpoint() local 105 bplen = (addr & 3) ? 2 : 4; in m32r_memory_insert_breakpoint() 120 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 126 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 136 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 142 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 155 int bplen; in m32r_memory_remove_breakpoint() local 164 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() 169 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() 179 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() [all …]
|
H A D | infcall.c | 231 int bplen; in generic_push_dummy_code() local 242 gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); in generic_push_dummy_code() 243 sp = gdbarch_frame_align (gdbarch, sp - bplen); in generic_push_dummy_code() 250 gdbarch_breakpoint_from_pc (gdbarch, bp_addr, &bplen); in generic_push_dummy_code() 251 sp = gdbarch_frame_align (gdbarch, sp + bplen); in generic_push_dummy_code()
|
H A D | ppc-linux-tdep.c | 461 int bplen; in ppc_linux_memory_remove_breakpoint() local 465 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in ppc_linux_memory_remove_breakpoint() 469 val = target_read_memory (addr, old_contents, bplen); in ppc_linux_memory_remove_breakpoint() 474 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in ppc_linux_memory_remove_breakpoint() 475 val = target_write_memory (addr, contents_cache, bplen); in ppc_linux_memory_remove_breakpoint()
|
H A D | monitor.c | 2044 int bplen; in monitor_insert_breakpoint() local 2054 bp = gdbarch_breakpoint_from_pc (current_gdbarch, &addr, &bplen); in monitor_insert_breakpoint() 2061 monitor_read_memory (addr, shadow, bplen); in monitor_insert_breakpoint()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | mem-break.c | 49 int bplen; in default_memory_insert_breakpoint() local 52 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in default_memory_insert_breakpoint() 57 val = target_read_memory (addr, contents_cache, bplen); in default_memory_insert_breakpoint() 61 val = target_write_memory (addr, (char *) bp, bplen); in default_memory_insert_breakpoint() 71 int bplen; in default_memory_remove_breakpoint() local 74 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in default_memory_remove_breakpoint() 78 return target_write_memory (addr, contents_cache, bplen); in default_memory_remove_breakpoint()
|
H A D | m32r-tdep.c | 103 int bplen; in m32r_memory_insert_breakpoint() local 105 bplen = (addr & 3) ? 2 : 4; in m32r_memory_insert_breakpoint() 120 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 126 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 136 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 142 bplen = sizeof (insn); in m32r_memory_insert_breakpoint() 155 int bplen; in m32r_memory_remove_breakpoint() local 164 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() 169 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() 179 bplen = sizeof (insn); in m32r_memory_remove_breakpoint() [all …]
|
H A D | infcall.c | 231 int bplen; in generic_push_dummy_code() local 242 gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); in generic_push_dummy_code() 243 sp = gdbarch_frame_align (gdbarch, sp - bplen); in generic_push_dummy_code() 250 gdbarch_breakpoint_from_pc (gdbarch, bp_addr, &bplen); in generic_push_dummy_code() 251 sp = gdbarch_frame_align (gdbarch, sp + bplen); in generic_push_dummy_code()
|
H A D | ppc-linux-tdep.c | 461 int bplen; in ppc_linux_memory_remove_breakpoint() local 465 bp = BREAKPOINT_FROM_PC (&addr, &bplen); in ppc_linux_memory_remove_breakpoint() 469 val = target_read_memory (addr, old_contents, bplen); in ppc_linux_memory_remove_breakpoint() 474 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in ppc_linux_memory_remove_breakpoint() 475 val = target_write_memory (addr, contents_cache, bplen); in ppc_linux_memory_remove_breakpoint()
|
H A D | monitor.c | 2044 int bplen; in monitor_insert_breakpoint() local 2054 bp = gdbarch_breakpoint_from_pc (current_gdbarch, &addr, &bplen); in monitor_insert_breakpoint() 2061 monitor_read_memory (addr, shadow, bplen); in monitor_insert_breakpoint()
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/ |
H A D | microblaze-linux-tdep.c | 47 int bplen; in microblaze_linux_memory_remove_breakpoint() local 51 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in microblaze_linux_memory_remove_breakpoint() 55 val = target_read_memory (addr, old_contents, bplen); in microblaze_linux_memory_remove_breakpoint() 60 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in microblaze_linux_memory_remove_breakpoint() 61 val = target_write_memory (addr, bp_tgt->shadow_contents, bplen); in microblaze_linux_memory_remove_breakpoint()
|
H A D | i386-dicos-tdep.c | 33 int bplen; in i386_dicos_push_dummy_code() local 36 gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); in i386_dicos_push_dummy_code() 37 *bp_addr = sp - bplen; in i386_dicos_push_dummy_code()
|
H A D | amd64-dicos-tdep.c | 34 int bplen; in amd64_dicos_push_dummy_code() local 37 gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); in amd64_dicos_push_dummy_code() 38 *bp_addr = sp - bplen; in amd64_dicos_push_dummy_code()
|
H A D | ppc-linux-tdep.c | 204 int bplen; in ppc_linux_memory_remove_breakpoint() local 209 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in ppc_linux_memory_remove_breakpoint() 215 val = target_read_memory (addr, old_contents, bplen); in ppc_linux_memory_remove_breakpoint() 220 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in ppc_linux_memory_remove_breakpoint() 221 val = target_write_memory (addr, bp_tgt->shadow_contents, bplen); in ppc_linux_memory_remove_breakpoint()
|
H A D | monitor.c | 2083 int bplen; in monitor_insert_breakpoint() local 2093 gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in monitor_insert_breakpoint() 2095 bp_tgt->placed_size = bplen; in monitor_insert_breakpoint()
|
/dports/devel/gdb761/gdb-7.6.1/gdb/ |
H A D | microblaze-linux-tdep.c | 47 int bplen; in microblaze_linux_memory_remove_breakpoint() local 51 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in microblaze_linux_memory_remove_breakpoint() 55 val = target_read_memory (addr, old_contents, bplen); in microblaze_linux_memory_remove_breakpoint() 60 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in microblaze_linux_memory_remove_breakpoint() 61 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in microblaze_linux_memory_remove_breakpoint()
|
H A D | ppc-linux-tdep.c | 216 int bplen; in ppc_linux_memory_remove_breakpoint() local 221 bp = gdbarch_breakpoint_from_pc (gdbarch, &addr, &bplen); in ppc_linux_memory_remove_breakpoint() 227 val = target_read_memory (addr, old_contents, bplen); in ppc_linux_memory_remove_breakpoint() 232 if (val == 0 && memcmp (bp, old_contents, bplen) == 0) in ppc_linux_memory_remove_breakpoint() 233 val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen); in ppc_linux_memory_remove_breakpoint()
|
/dports/mail/mmh/mmh-0.4/sbr/ |
H A D | lock_file.c | 467 int bplen, tmplen; in lockname() local 474 bplen = 0; in lockname() 479 bplen += tmplen; in lockname() 485 bplen += tmplen; in lockname() 489 snprintf(bp, sizeof(li->curlock) - bplen, "%s.lock", cp); in lockname()
|
/dports/mail/nmh/nmh-1.7.1/sbr/ |
H A D | lock_file.c | 589 int bplen, tmplen; in lockname() local 601 bplen = 0; in lockname() 606 bplen += tmplen; in lockname() 612 bplen += tmplen; in lockname() 625 snprintf (bp, sizeof(li->curlock) - bplen, "LCK%05d.%05d", in lockname() 629 snprintf (bp, sizeof(li->curlock) - bplen, "%s.lock", cp); in lockname()
|
/dports/mail/libmilter/sendmail-8.16.1/sendmail/ |
H A D | savemail.c | 1615 static int bplen = 0; local 1642 if (l > bplen) 1647 bplen = l; 1687 static int bplen = 0; local 1695 if (l > bplen) 1700 bplen = l;
|
/dports/editors/mg/mg-6.9/ |
H A D | file.c | 758 xbasename(char *bp, const char *path, size_t bplen) in xbasename() argument 763 return (strlcpy(bp, basename(ts), bplen)); in xbasename()
|