This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PATCH: tracepoints: Remove redundant assignment
- From: Jim Blandy <jimb at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 26 Oct 2007 16:07:31 -0700
- Subject: PATCH: tracepoints: Remove redundant assignment
Committed as obvious.
gdb/ChangeLog:
2007-10-25 Jim Blandy <jimb@codesourcery.com>
* ax-gdb.c (gen_cast): Remove redundant assignment to
value->type. Doc fix.
diff -r 1ad43183db5f -r cdc626576c72 gdb/ax-gdb.c
--- a/gdb/ax-gdb.c Thu Oct 25 12:40:52 2007 -0700
+++ b/gdb/ax-gdb.c Thu Oct 25 12:43:14 2007 -0700
@@ -905,9 +905,8 @@ gen_cast (struct agent_expr *ax, struct
/* 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: