* [OBV PATCH] Move comment back into correct place.
@ 2013-09-05 13:20 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2013-09-05 13:20 UTC (permalink / raw)
To: insight
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-05 13:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 13:20 [OBV PATCH] Move comment back into correct place Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).