diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-16 01:27:02 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-16 01:27:02 +0000 |
commit | ad3bbd48b65047845b258564db3fd2e64e00c7bc (patch) | |
tree | 6fa1e4fcc2207b1528a33e4097c13526e75db941 /gdb/prologue-value.c | |
parent | 5cc80db34dcbe944fe7b480c9841f309c0cf6e96 (diff) | |
download | gdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.zip gdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.tar.gz gdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.tar.bz2 |
2010-05-15 Michael Snyder <msnyder@vmware.com>
* parse.c: White space.
* p-lang.c: White space.
* posix-hdep.c: White space.
* printcmd.c: White space.
* progspace.c: White space.
* prologue-value.c: White space.
* psymtab.c: White space.
* p-typeprint.c: White space.
* p-valprint.c: White space.
Diffstat (limited to 'gdb/prologue-value.c')
-rw-r--r-- | gdb/prologue-value.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/prologue-value.c b/gdb/prologue-value.c index b52c867..4ff5a0c 100644 --- a/gdb/prologue-value.c +++ b/gdb/prologue-value.c @@ -346,6 +346,7 @@ clear_entries (struct pv_area *area) do { struct area_entry *next = e->next; + xfree (e); e = next; } @@ -468,6 +469,7 @@ pv_area_store (struct pv_area *area, while (e && overlaps (area, e, offset, size)) { struct area_entry *next = (e->next == e) ? 0 : e->next; + e->prev->next = e->next; e->next->prev = e->prev; @@ -492,6 +494,7 @@ pv_area_store (struct pv_area *area, { CORE_ADDR offset = addr.k; struct area_entry *e = (struct area_entry *) xmalloc (sizeof (*e)); + e->offset = offset; e->size = size; e->value = value; |