* ax-gdb.c (gen_cast): Remove redundant assignment to
value->type. Doc fix.
This commit is contained in:
parent
648027cceb
commit
74b35824fc
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
2007-10-26 Jim Blandy <jimb@codesourcery.com>
|
||||
|
||||
* ax-gdb.c (gen_cast): Remove redundant assignment to
|
||||
value->type. Doc fix.
|
||||
|
||||
* ax-general.c (gen_traced_pop, gen_int_literal)
|
||||
(gen_usual_arithmetic): Check for typedefs.
|
||||
|
||||
|
|
|
@ -905,9 +905,8 @@ gen_cast (struct agent_expr *ax, struct axs_value *value, struct type *type)
|
|||
/* We don't have to worry about the size of the value, because
|
||||
all our integral values are fully sign-extended, and when
|
||||
casting pointers we can do anything we like. Is there any
|
||||
way for us to actually know what GCC actually does with a
|
||||
cast like this? */
|
||||
value->type = type;
|
||||
way for us to know what GCC actually does with a cast like
|
||||
this? */
|
||||
break;
|
||||
|
||||
case TYPE_CODE_INT:
|
||||
|
|
Loading…
Add table
Reference in a new issue