On Mon, Sep 25, 2017 at 11:17 AM, nick <xerofo...@gmail.com> wrote: > > > On 2017-09-24 10:10 AM, Eric Gallager wrote: >> On Sat, Sep 23, 2017 at 12:34 PM, nick <xerofo...@gmail.com> wrote: >>> If your able to just tell me where the functions are located or how do you >>> enable ctags for all of >>> gcc? That would just save me asking stupid questions. Is there a global >>> setting like make ctags for >>> doing this or you I have to do it manually. >>> >>> Thanks for the quick response, >>> >>> Nick >> >> Also, for `make ctags` to work from the top level source directory, >> this patch needs to be applied: >> https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00370.html >> (The patch is approved but the thread says I was still waiting on >> commit access at the time; I have since received commit access, but my >> ssh keys that allow me to commit are currently stuck on a failing hard >> drive, so if someone else could commit for me, it'd be appreciated.) >> > > Eric, > > I rewrote the patch as it was failing for me on the trunk of gcc git. It's > still > reported as failing but it seems to apply fine when I inspect the lines I > changed, > all apply fine now. > > Here is the reported git warning: > > Applying: Fix Ctags Patch to Work on Master Tree > .git/rebase-apply/patch:15: trailing whitespace. > host_modules= { module= libdecnumber; bootstrap=true; > warning: 1 line adds whitespace errors. > > I will fix this after I get some comments on my update of the patch. It's > attached here. Here is a link to the original patch I rewrote due to > failing for me: > https://gcc.gnu.org/ml/gcc-patches/2016-10/txtNehNSQvx5L.txt > > Nick
The way to get the patch to work that I was going to suggest would be to just apply the portion that applies to Makefile.def, and then regenerate Makefile.in manually by running `autogen Makefile.def`, as described in the top comments of Makefile.tpl. But if you managed it another way, that's cool too. Eric