This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: mmap on Linux broken???
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Salman Khilji <salmankhilji at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 26 Jan 2002 22:08:34 -0500
- Subject: Re: mmap on Linux broken???
- References: <F50SFsxf4yp8ARf3sll0001844d@hotmail.com>
On Sun, Jan 27, 2002 at 12:35:31AM +0000, Salman Khilji wrote:
> I tried to use the -mapped option of gdb to dump the symbol table into a
> memory mapped file, but gdb compains that mmap() is not available on my
> system---either missig or broken? I am using Mandrake 8.1 which has the
> 2.4.8 kernel. I thought memory mapped files was available on Linux---am I
> wrong?
You need to configure --with-mmalloc to use this feature. Either the
code or the error needs to be tweaked.
> Hmm... this means that you can't create a proprietory GUI for gdb...right?
>
> Anyone heard of such a thing? Sorry this is getting off topic into
> licensing issues.
>
> So this means that if you use in your proprietory software a call to
> CreateProcess() or exec() to launch binutils (objdump) it would be illegal?
>
> Also what if you use objdump standalone and create a dump file. Then you
> parse the dump file using your own code?
Please take this to a more legal-oriented list, thanks.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer