public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-jankratochvil-vla: Fix regression on -O0 -g watchpoints.
@ 2011-07-29 20:46 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2011-07-29 20:46 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-vla has been updated
via 11cf46bbcde785f048af0f38214eaf967f304d46 (commit)
from 4f82e3f3acba79733ad9e25d4227bf4baa5ade86 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 11cf46bbcde785f048af0f38214eaf967f304d46
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Jul 29 22:46:04 2011 +0200
Fix regression on -O0 -g watchpoints.
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2read.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 87d9ef6..5f8d146 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -11535,6 +11535,9 @@ var_decode_location (struct attribute *attr, struct symbol *sym,
SYMBOL_CLASS (sym) = LOC_COMPUTED;
dwarf2_symbol_mark_computed (attr, sym, cu);
+
+ if (SYMBOL_COMPUTED_OPS (sym) == &dwarf2_loclist_funcs)
+ cu->has_loclist = 1;
}
/* Given a pointer to a DWARF information entry, figure out if we need
@@ -15452,7 +15455,6 @@ dwarf2_symbol_mark_computed (struct attribute *attr, struct symbol *sym,
{
SYMBOL_COMPUTED_OPS (sym) = &dwarf2_loclist_funcs;
SYMBOL_LOCATION_BATON (sym) = loclist_baton;
- cu->has_loclist = 1;
}
else if (attr_form_is_block (attr))
{
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-29 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-29 20:46 [SCM] archer-jankratochvil-vla: Fix regression on -O0 -g watchpoints jkratoch
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).