Lines Matching defs:ax
27 #include "ax.h"
120 error ("GDB bug: ax-general.c (read_const): incomplete constant");
145 error ("GDB bug: ax-general.c (generic_ext): bit count out of range");
148 error ("GDB bug: ax-general.c (generic_ext): opcode has inadequate range");
178 error ("GDB bug: ax-general.c (ax_trace_quick): size out of range for trace_quick");
213 error ("GDB bug: ax-general.c (ax_label): label target out of range");
255 error ("GDB bug: ax-general.c (ax_const_d): floating point not supported yet");
266 error ("GDB bug: ax-general.c (ax_reg): register number out of range");
345 error ("GDB bug: ax-general.c (ax_print): opcode map out of sync");
384 ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
395 char *targets = (char *) alloca (ax->len * sizeof (targets[0]));
399 char *boundary = (char *) alloca (ax->len * sizeof (boundary[0]));
404 int *heights = (int *) alloca (ax->len * sizeof (heights[0]));
410 memset (targets, 0, ax->len * sizeof (targets[0]));
411 memset (boundary, 0, ax->len * sizeof (boundary[0]));
417 for (i = 0; i < ax->len; i += 1 + op->op_size)
419 if (ax->buf[i] > (sizeof (aop_map) / sizeof (aop_map[0])))
426 op = &aop_map[ax->buf[i]];
435 if (i + 1 + op->op_size > ax->len)
470 int target = read_const (ax, i + 1, 2);
471 if (target < 0 || target >= ax->len)
497 && i + 3 < ax->len)
512 int reg = read_const (ax, i + 1, 2);
533 for (i = 0; i < ax->len; i++)