From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Kevin Buettner Cc: gdb@sourceware.cygnus.com Subject: Re: Proposal: convert function definitions to prototyped form Date: Mon, 12 Jun 2000 18:10:00 -0000 Message-id: <394589D8.8A61FECD@cygnus.com> References: <1000602075018.ZM29997@ocotillo.lan> X-SW-Source: 2000-06/msg00102.html Kevin Buettner wrote: > > As many of you know, I'm in the midst of purging the use of ``PARAMS'' > in prototyped function declarations from the gdb sources. After this > activity is concluded, I'd like to begin converting function > definitions whose parameters are declared using the traditional C > style to the ISO C prototyped form. I.e, I'd like to convert > functions of the form Kevin, Would a fair summary of this be that you've encountered the following road blocks: o indent.pro So that indent gives better results o a drain of some of the backlog of patches (pascal I believe is now going in). Apple and HP? No one has objected to the principal (well not on gdb-patches :-) and the tool would be based on perl rather than the the gcc thing. Once those blockages are cleared, it can be scheduled and can go through? Andrew >From shebs@apple.com Mon Jun 12 18:15:00 2000 From: Stan Shebs To: Daniel Berlin Cc: Andrew Cagney , Eric Bachalo , gdb@sourceware.cygnus.com Subject: Re: Proposal: convert function definitions to prototyped form Date: Mon, 12 Jun 2000 18:15:00 -0000 Message-id: <39458A9E.239C8A81@apple.com> References: X-SW-Source: 2000-06/msg00103.html Content-length: 374 Daniel Berlin wrote: > > Funny you guys bring up the number of types in GDB. > According to the debug info, there are >82,000. > How exactly are we counting them, again? Since GDB sources are around 400K lines or so, it's highly unlikely that there is a type definition for every five lines in the C sources. You're seeing duplicates in the debug info, presumably. Stan >From dan@cgsoftware.com Mon Jun 12 18:23:00 2000 From: Daniel Berlin To: Stan Shebs Cc: Andrew Cagney , Eric Bachalo , gdb@sourceware.cygnus.com Subject: Re: Proposal: convert function definitions to prototyped form Date: Mon, 12 Jun 2000 18:23:00 -0000 Message-id: References: <39458A9E.239C8A81@apple.com> X-SW-Source: 2000-06/msg00104.html Content-length: 643 Before my patches to eliminate duplicate dwarf2 info, it said there were 120k. So something isn't adding up here. I find it hard to believe we duplicate that much info. It's pretty much absurd. --Dan On Mon, 12 Jun 2000, Stan Shebs wrote: > Daniel Berlin wrote: > > > > Funny you guys bring up the number of types in GDB. > > According to the debug info, there are >82,000. > > How exactly are we counting them, again? > > Since GDB sources are around 400K lines or so, it's highly unlikely > that there is a type definition for every five lines in the > C sources. You're seeing duplicates in the debug info, presumably. > > Stan >