From owner-freebsd-hackers Thu Aug 24 21:21:06 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id VAA23160 for hackers-outgoing; Thu, 24 Aug 1995 21:21:06 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id VAA23143 for ; Thu, 24 Aug 1995 21:21:04 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA15756; Fri, 25 Aug 1995 06:20:54 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id GAA13184 for freebsd-hackers@freebsd.org; Fri, 25 Aug 1995 06:20:54 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id AAA17528 for freebsd-hackers@freebsd.org; Fri, 25 Aug 1995 00:15:47 +0200 From: J Wunsch Message-Id: <199508242215.AAA17528@uriah.heep.sax.de> Subject: Re: gdb & MMAP To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Fri, 25 Aug 1995 00:15:44 +0200 (MET DST) Reply-To: freebsd-hackers@freebsd.org (FreeBSD hackers) In-Reply-To: from "Gary Jennejohn" at Aug 24, 95 10:45:00 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 844 Sender: hackers-owner@freebsd.org Precedence: bulk As Gary Jennejohn wrote: > > Anyway, I quickly identified the 2 places where HAVE_MMAP needs to be > defined and remade gdb with (as far as I can tell) no ill effects. But, > I also didn't notice any real benefits either. I'm forced to admit that > I haven't exactly stress-tested the new gdb, though. It's in gdb's (private -- hey why? why not link it against -lgnumalloc?) malloc library. The XFree86 folks are also experimenting with an mmap-based malloc(). I know that they do experience some problems, and David confirmed me that at least ``memory holes'' in a process' address space could cause some trouble. Just as a reminder... if it doesn't gain gdb anything, don't try to break it. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)