From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: jason-swarelist@molenda.com Cc: ac131313@cygnus.com, gdb-patches@sources.redhat.com, tromey@cygnus.com Subject: Re: [RFA] patch to add 'maint profile-gdb' command Date: Mon, 10 Sep 2001 13:43:00 -0000 Message-id: <7263-Mon10Sep2001234038+0300-eliz@is.elta.co.il> References: <20010910003022.A21681@shell17.ba.best.com> <3B9CE0C6.5060700@cygnus.com> <20010910115244.A25119@shell17.ba.best.com> X-SW-Source: 2001-09/msg00147.html > Date: Mon, 10 Sep 2001 11:52:45 -0700 > From: Jason Molenda > > > i think the command should always be present. looking at the patch, it > > appears to have started out that way. > > I'd disagree. First, these functions are not very portable. Our > very own RH 6.2 box that is sourceware.cygnus.com does not have > moncontrol() or monstart(), and -pg doesn't seem to be usable at > all. My RH 7.1 box at home works fine. MacOS X's FreeBSD works > fine. We could autoconfiscate this, couldn't we? > I just re-read the man page, it doesn't matter where it's disabled. The > gmon.out file is going to be overwritten each time gdb is run no matter > what. Not if we use monstartup: the file is not touched unless monstartup is called.