This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog buildsym.c cp-namespace.c cp ...
- From: swagiaal at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 8 Apr 2010 17:15:12 -0000
- Subject: src/gdb ChangeLog buildsym.c cp-namespace.c cp ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_1-branch
Changes by: swagiaal@sourceware.org 2010-04-08 17:15:12
Modified files:
gdb : ChangeLog buildsym.c cp-namespace.c
cp-support.h dwarf2read.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: gdb2384-base.cc gdb2384-base.h
Log message:
PR 11408: Backport using_directives memory leak fix.
2010-04-08 Sami Wagiaalla <swagiaal@redhat.com>
PR Breakpoints/11408:
* cp-namespace.c (cp_add_using): Deleted.
(cp_add_using_directive): Use obstack allocations.
Merged the function cp_add_using into this one.
Added 'struct obstack *' argument.
(cp_scan_for_anonymous_namespaces): Updated.
* cp-support.h: Updated.
* dwarf2read.c (read_import_statement): Updated.
(read_namespace): Updated.
* buildsym.c (finish_block): Reset using_directives pointer
after block initialization.
2010-03-22 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/gdb2384-base.h: Created 'namespace B'.
* gdb.cp/gdb2384-base.cc: Use 'namespace B'.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.11378.2.35&r2=1.11378.2.36
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/buildsym.c.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.78&r2=1.78.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-namespace.c.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.34&r2=1.34.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-support.h.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.33&r2=1.33.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.356.2.2&r2=1.356.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.2147.2.4&r2=1.2147.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/gdb2384-base.cc.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.5&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/gdb2384-base.h.diff?cvsroot=src&only_with_tag=gdb_7_1-branch&r1=1.5&r2=1.5.2.1