This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] corrections in comments
- From: David Anderson <davea at quasar dot engr dot sgi dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 11 Oct 2004 09:40:55 -0700 (PDT)
- Subject: [commit] corrections in comments
Obvious fixes, as appeared in gdb-patches Saturday.
Now committed.
2004-10-11 David Anderson <davea@sgi.com>
* regcache.c (regcache_raw_read): Comment was missing "to".
Extraneous ' removed.
* gdb_thread_db.h (struct td_thrinfo): ti_lid field
comment now describes use.
Index: gdb_thread_db.h
===================================================================
RCS file: /cvs/src/src/gdb/gdb_thread_db.h,v
retrieving revision 1.5
diff -p -u -r1.5 gdb_thread_db.h
--- gdb_thread_db.h 26 Feb 2003 17:24:12 -0000 1.5
+++ gdb_thread_db.h 11 Oct 2004 16:26:40 -0000
@@ -292,7 +292,7 @@ typedef struct td_thrinfo
intptr_t ti_sp; /* Unused. */
short int ti_flags; /* Unused. */
int ti_pri; /* Thread priority. */
- lwpid_t ti_lid; /* Unused. */
+ lwpid_t ti_lid; /* Kernel pid for this thread. */
sigset_t ti_sigmask; /* Signal mask. */
unsigned char ti_traceme; /* Nonzero if event reporting
enabled. */
Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.127
diff -p -u -r1.127 regcache.c
--- regcache.c 7 Aug 2004 16:33:54 -0000 1.127
+++ regcache.c 11 Oct 2004 16:26:40 -0000
@@ -616,8 +616,8 @@ regcache_raw_read (struct regcache *regc
target_fetch_registers (regnum);
#if 0
/* FIXME: cagney/2004-08-07: At present a number of targets
- forget (or didn't know that they needed) set this leading to
- panics. Also is the problem that target's need to indicate
+ forget (or didn't know that they needed) to set this leading to
+ panics. Also is the problem that targets need to indicate
that a register is in one of the possible states: valid,
undefined, unknown. The last of which isn't yet
possible. */
Regards,
David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea