From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: ac131313@cygnus.com Cc: jason-swarelist@molenda.com, gdb-patches@sources.redhat.com, tromey@cygnus.com Subject: Re: [RFA] Version 2 of patch to add 'maint profile-gdb' command Date: Mon, 17 Sep 2001 23:59:00 -0000 Message-id: <3405-Tue18Sep2001095115+0300-eliz@is.elta.co.il> References: <20010910003022.A21681@shell17.ba.best.com> <3B9CE0C6.5060700@cygnus.com> <20010910115244.A25119@shell17.ba.best.com> <3B9FACDA.6070407@cygnus.com> <20010916174433.A3258@shell17.ba.best.com> <200109170536.HAA21988@is.elta.co.il> <3BA6DEE6.1020700@cygnus.com> X-SW-Source: 2001-09/msg00220.html > Date: Tue, 18 Sep 2001 01:43:02 -0400 > From: Andrew Cagney > > > Emacs uses monstartup and manages to solve both of these problems. > > See the file src/emacs.c (search for "etext") for the details. > > from emacs 20.7: > > > /* Gerd Moellmann says this makes profiling work on > > FreeBSD. It might work on some other systems too. > > Give it a try and tell me if it works on your system. */ [...] > I get the feeling that this is work in progress. This file is almost 2 years old. Since then, this code was proven to run unmodified on quite a few platforms. Anyway, I don't want to continue arguing about this. As long as you know that the problems Jason raised can be solved with simple and quite portable code, all the rest is your judgement call.