From: David Carlton <carlton@kealia.com>
To: gdb-patches@sources.redhat.com
Subject: [patch] fix for PR gdb/1534
Date: Fri, 23 Jan 2004 17:56:00 -0000 [thread overview]
Message-ID: <m3ad4epmzc.fsf@coconut.kealia.com> (raw)
As PR gdb/1534 points out, I neglected to clear
objfile->cp_namespace_symtab in reread_symbols. The following patch
cures the problem, according to the submitter; I've tested it on
i686-pc-linux-gnu with multiple GCC/debug combinations and gotten no
regressions.
Committed as obvious.
David Carlton
carlton@kealia.com
2004-01-23 David Carlton <carlton@kealia.com>
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.116
diff -u -p -r1.116 symfile.c
--- symfile.c 19 Jan 2004 19:56:02 -0000 1.116
+++ symfile.c 23 Jan 2004 17:09:52 -0000
@@ -1918,6 +1918,7 @@ reread_symbols (void)
objfile->symtabs = NULL;
objfile->psymtabs = NULL;
objfile->free_psymtabs = NULL;
+ objfile->cp_namespace_symtab = NULL;
objfile->msymbols = NULL;
objfile->sym_private = NULL;
objfile->minimal_symbol_count = 0;
next reply other threads:[~2004-01-23 17:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-23 17:56 David Carlton [this message]
2004-01-23 18:11 ` Elena Zannoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ad4epmzc.fsf@coconut.kealia.com \
--to=carlton@kealia.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox