* ax-gdb.c (gen_cast): Remove redundant assignment to
authorJim Blandy <jimb@codesourcery.com>
Fri, 26 Oct 2007 23:07:26 +0000 (23:07 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 26 Oct 2007 23:07:26 +0000 (23:07 +0000)
value->type.  Doc fix.

gdb/ChangeLog
gdb/ax-gdb.c

index 22695494e590f319d6a9d8f6b66d4b3e89269d02..3d5f5f9dcbfda8959c093037f69045606dbcc8f7 100644 (file)
@@ -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.
 
index 27cc5b1ea356497e573850337aaa0de76698f796..013b898f1d865a835f27770bbb90b979fcd0b81c 100644 (file)
@@ -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:
This page took 0.033047 seconds and 4 git commands to generate.