Lines Matching defs:arg

205 static unsigned long lookup_addr(char *arg)
209 if (!strcmp(arg, "kgdbts_break_test"))
211 else if (!strcmp(arg, "sys_open"))
213 else if (!strcmp(arg, "kernel_clone"))
215 else if (!strcmp(arg, "hw_break_val"))
221 static void break_helper(char *bp_type, char *arg, unsigned long vaddr)
225 if (arg)
226 addr = lookup_addr(arg);
235 static void sw_break(char *arg)
237 break_helper(force_hwbrks ? "Z1" : "Z0", arg, 0);
240 static void sw_rem_break(char *arg)
242 break_helper(force_hwbrks ? "z1" : "z0", arg, 0);
245 static void hw_break(char *arg)
247 break_helper("Z1", arg, 0);
250 static void hw_rem_break(char *arg)
252 break_helper("z1", arg, 0);
255 static void hw_write_break(char *arg)
257 break_helper("Z2", arg, 0);
260 static void hw_rem_write_break(char *arg)
262 break_helper("z2", arg, 0);
265 static void hw_access_break(char *arg)
267 break_helper("Z4", arg, 0);
270 static void hw_rem_access_break(char *arg)
272 break_helper("z4", arg, 0);
285 static int get_thread_id_continue(char *put_str, char *arg)
295 static int check_and_rewind_pc(char *put_str, char *arg)
297 unsigned long addr = lookup_addr(arg);
314 ((!strcmp(arg, "sys_open") || !strcmp(arg, "kernel_clone")))) {
318 } else if (strcmp(arg, "silent") && ip + offset != addr) {
332 static int check_single_step(char *put_str, char *arg)
334 unsigned long addr = lookup_addr(arg);
378 static void write_regs(char *arg)
387 static void skip_back_repeat_test(char *arg)
389 int go_back = simple_strtol(arg, NULL, 10);
403 static int got_break(char *put_str, char *arg)
406 if (!strncmp(put_str+1, arg, 2)) {
407 if (!strncmp(arg, "T0", 2))
414 static void get_cont_catch(char *arg)
420 static int put_cont_catch(char *put_str, char *arg)
428 static int emul_reset(char *put_str, char *arg)
439 static void emul_sstep_get(char *arg)
446 fill_get_buf(arg);
474 static int emul_sstep_put(char *put_str, char *arg)
526 static int final_ack_set(char *put_str, char *arg)
528 if (strncmp(put_str+1, arg, 2))