* mmap on Linux broken???
@ 2002-01-26 16:35 Salman Khilji
2002-01-26 19:08 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Salman Khilji @ 2002-01-26 16:35 UTC (permalink / raw)
To: gdb
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?
>
>Why do you think that? I've been of the impression that you can't take
>even part of the code. I don't even know if you can call binutils without
>the code having to be copyleft. I recall hearing of other programs having
>to remove calls to GNU libraries just to stay out of the copyleft
>restristions.
>
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?
Salman
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mmap on Linux broken???
2002-01-26 16:35 mmap on Linux broken??? Salman Khilji
@ 2002-01-26 19:08 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-01-26 19:08 UTC (permalink / raw)
To: Salman Khilji; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-27 3:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-26 16:35 mmap on Linux broken??? Salman Khilji
2002-01-26 19:08 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox