Roland Mainz <[EMAIL PROTECTED]> writes: > Mike Shapiro wrote: >> On Sun, Jan 13, 2008 at 11:54:16PM +0100, Roland Mainz wrote: >> > Mike Shapiro wrote: > [snip] >> > See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6575435 >> > ('ctf tools cannot handle C99 VLAs ("variable length arrays")') ... >> >> I'm not sure if you're tried DWARF output instead of stabs, > > Erm... no... it seems I completely overlooked this option... > <...some-quick-testing...> > It seems that setting DEBUGFORMAT=-xdebugformat=dwarf in our Makefiles > solves the VLA problem... :-) :-) :-) > > ... which triggers three questions: > 1. Why isn't -xdebugformat=dwarf the default for OS/Net ? > 2. Is there any "catch" if I add DEBUGFORMAT=-xdebugformat=dwarf to our > Makefiles ? > 3. Who can approve the usage of DEBUGFORMAT=-xdebugformat=dwarf in > OS/Net Makefiles ? Gatekeepers ? > >> but in any >> case, yes, given the c99 changes, we should make the ctf tools handle >> that. Unfortunately team CTF (me and John Levon, if there is such a >> designation) are both busy on other things at the moment. So if you >> can't get around with by using the DWARF mode, then feel free to pitch >> in by proposing a set of diffs and we'll sponsor you: this should >> be relatively trivial to fix. > > AFAIK Richard Lowe had a hack which modified ctfconvert to ignore this > error... but as I said I'm not sure whether this kind of "hacks" are > welcome/correct/etc. or not...
It did not ignore the error, it treated # the same way as $ _ and . are treated. John stated that was incorrect, but neither of us remember why with any precision. (I did it before your ksh93 bits integrated such that you had would have somewhat of a workaround but retain CTF info) -- Rich _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
