projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[deliverable/binutils-gdb.git]
/
gdb
/
ax-general.c
diff --git
a/gdb/ax-general.c
b/gdb/ax-general.c
index 91aefff544287ba0a6386551dc5118315591d879..9451837b97e325ffc7b799207c86bc5b3b0c1442 100644
(file)
--- a/
gdb/ax-general.c
+++ b/
gdb/ax-general.c
@@
-1,5
+1,5
@@
/* Functions for manipulating expressions designed to be executed on the agent
/* Functions for manipulating expressions designed to be executed on the agent
- Copyright 1998, 2000 Free Software Foundation, Inc.
+ Copyright 1998,
1999,
2000 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-56,8
+56,8
@@
new_agent_expr (CORE_ADDR scope)
void
free_agent_expr (struct agent_expr *x)
{
void
free_agent_expr (struct agent_expr *x)
{
- free (x->buf);
- free (x);
+
x
free (x->buf);
+
x
free (x);
}
static void
}
static void
@@
-416,7
+416,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (ax->buf[i] > (sizeof (aop_map) / sizeof (aop_map[0])))
{
reqs->flaw = agent_flaw_bad_instruction;
if (ax->buf[i] > (sizeof (aop_map) / sizeof (aop_map[0])))
{
reqs->flaw = agent_flaw_bad_instruction;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
return;
}
@@
-425,14
+425,14
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (!op->name)
{
reqs->flaw = agent_flaw_bad_instruction;
if (!op->name)
{
reqs->flaw = agent_flaw_bad_instruction;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
if (i + 1 + op->op_size > ax->len)
{
reqs->flaw = agent_flaw_incomplete_instruction;
return;
}
if (i + 1 + op->op_size > ax->len)
{
reqs->flaw = agent_flaw_incomplete_instruction;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
return;
}
@@
-441,7
+441,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (targets[i] && (heights[i] != height))
{
reqs->flaw = agent_flaw_height_mismatch;
if (targets[i] && (heights[i] != height))
{
reqs->flaw = agent_flaw_height_mismatch;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
return;
}
@@
-468,7
+468,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (target < 0 || target >= ax->len)
{
reqs->flaw = agent_flaw_bad_jump;
if (target < 0 || target >= ax->len)
{
reqs->flaw = agent_flaw_bad_jump;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
/* Have we already found other jumps to the same location? */
return;
}
/* Have we already found other jumps to the same location? */
@@
-477,7
+477,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (heights[i] != height)
{
reqs->flaw = agent_flaw_height_mismatch;
if (heights[i] != height)
{
reqs->flaw = agent_flaw_height_mismatch;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
}
return;
}
}
@@
-496,7
+496,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (!targets[i + 3])
{
reqs->flaw = agent_flaw_hole;
if (!targets[i + 3])
{
reqs->flaw = agent_flaw_hole;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
return;
}
@@
-531,7
+531,7
@@
ax_reqs (struct agent_expr *ax, struct agent_reqs *reqs)
if (targets[i] && !boundary[i])
{
reqs->flaw = agent_flaw_bad_jump;
if (targets[i] && !boundary[i])
{
reqs->flaw = agent_flaw_bad_jump;
- free (reg_mask);
+
x
free (reg_mask);
return;
}
return;
}
This page took
0.026352 seconds
and
4
git commands to generate.