This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13087] New: code cleanup: obstack_merge required


http://sourceware.org/bugzilla/show_bug.cgi?id=13087

             Bug #: 13087
           Summary: code cleanup: obstack_merge required
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
    Classification: Unclassified


There will be soon in FSF GDB HEAD:
Re: [RFA] c++/12266 (again) [cp_canonicalize_no_typedefs-4.patch]
http://sourceware.org/ml/gdb-patches/2011-08/msg00212.html

cp_merge_demangle_parse_infos:
+   NOTE 2: The string from which SRC was parsed must not be freed, since
+   this function will place pointers to that string into DEST.  */

There should be merge of obstacks functions so that it can track the source
string.

Obstack API needs an update to be 64bit anyway (it is a Fedora patch now) so
this could come together when increasing the obstack API version.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]