This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OBV PATCH] Move comment back into correct place.


The comment for the variable old_regs in gdbtk-register.c had come
unstuck.  I've moved it back into place.

Hope this is ok to commit as obvious.

thanks,
Andrew

2013-09-05  Andrew Burgess  <aburgess@broadcom.com>

	* generic/gdbk-register.c (old_regs): Move the comment about this
	variable next to the definition.

Index: ./gdb/gdbtk/generic/gdbtk-register.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-register.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- ./gdb/gdbtk/generic/gdbtk-register.c	15 Jul 2013 07:42:21 -0000	1.47
+++ ./gdb/gdbtk/generic/gdbtk-register.c	5 Sep 2013 13:14:28 -0000	1.48
@@ -43,11 +43,6 @@ typedef union
 /* Type of our mapping functions */
 typedef void (*map_func)(int, map_arg);
 
-/* This contains the previous values of the registers, since the last call to
-   gdb_changed_register_list.
-
-   It is an array of (NUM_REGS+NUM_PSEUDO_REGS)*MAX_REGISTER_RAW_SIZE bytes. */
-
 static int gdb_register_info (ClientData, Tcl_Interp *, int, Tcl_Obj **);
 static void get_register (int, map_arg);
 static void get_register_name (int, map_arg);
@@ -62,6 +57,11 @@ static int gdb_reggrouplist (ClientData,
 
 static void get_register_types (int regnum, map_arg);
 
+/* This contains the previous values of the registers, since the last call to
+   gdb_changed_register_list.
+
+   It is an array of (NUM_REGS+NUM_PSEUDO_REGS)*MAX_REGISTER_RAW_SIZE bytes. */
+
 static char *old_regs = NULL;
 static int *regformat = (int *)NULL;
 static struct type **regtype = (struct type **)NULL;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]