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

jan.kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Tue Aug 16 06:47:00 GMT 2011


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.



More information about the Gdb-prs mailing list