aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2009-11-11 19:27:02 +0000
committerMichael Snyder <msnyder@vmware.com>2009-11-11 19:27:02 +0000
commit9659616a9690efc1e75c801513df6f59a16cd33f (patch)
tree41c461c0a679885f32f3e6a85b21433845ceb832 /gdb
parent66c53f2b15177549ac9dfea610360140f9e73ba2 (diff)
downloadgdb-9659616a9690efc1e75c801513df6f59a16cd33f.zip
gdb-9659616a9690efc1e75c801513df6f59a16cd33f.tar.gz
gdb-9659616a9690efc1e75c801513df6f59a16cd33f.tar.bz2
2009-10-28 Michael Snyder <msnyder@vmware.com>
* findvar.c (top level): Fix and add comments.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/findvar.c7
2 files changed, 14 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2fb7383..98b8e43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-28 Michael Snyder <msnyder@vmware.com>
+
+ * findvar.c (top level): Fix and add comments.
+
2009-11-10 Keith Seitz <keiths@redhat.com>
* c-expy. (operator_stoken): New function.
@@ -67,6 +71,11 @@
2009-11-10 Michael Snyder <msnyder@vmware.com>
+ * dcache.c (dcache_invalidate_line): Remove block from used list
+ when adding it to freed list.
+
+2009-11-10 Michael Snyder <msnyder@vmware.com>
+
* dcache.c: Fix typo, shorten long lines in comment.
2009-11-10 Tristan Gingold <gingold@adacore.com>
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 8c027c9..abfe5bb 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -36,8 +36,9 @@
#include "block.h"
#include "objfiles.h"
-/* Basic byte-swapping routines. GDB has needed these for a long time...
- All extract a target-format integer at ADDR which is LEN bytes long. */
+/* Basic byte-swapping routines. All 'extract' functions return a
+ host-format integer from a target-format integer at ADDR which is
+ LEN bytes long. */
#if TARGET_CHAR_BIT != 8 || HOST_CHAR_BIT != 8
/* 8 bit characters are a pretty safe assumption these days, so we
@@ -179,6 +180,8 @@ extract_typed_address (const gdb_byte *buf, struct type *type)
return gdbarch_pointer_to_address (get_type_arch (type), type, buf);
}
+/* All 'store' functions accept a host-format integer and store a
+ target-format integer at ADDR which is LEN bytes long. */
void
store_signed_integer (gdb_byte *addr, int len,