Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* More mmap/Linux questions
@ 2000-08-31  9:52 j_clifton
  2000-08-31 13:23 ` Mark Kettenis
  0 siblings, 1 reply; 2+ messages in thread
From: j_clifton @ 2000-08-31  9:52 UTC (permalink / raw)
  To: gdb

A previous thread on mmap stated that the problem is in Linux.

I have a cluster of Linux boxes connected via PCI reflective memory. They are
programmed in ADA and have 85 data structures mmaped into the reflective memory.
If I print or x any any structure which has been mmapped all I get are zeros. My
understanding is this is because of ptrace in the linux kernel.

The previous thread indicated this restriction was because some hardware devices
don't like arbitrary accesses. This restriction seems like swatting flies with a
sledgehammer. Can't MTTR or something be used to protect touchy hardware rather
than prohibiting all access to addresses above CPU memory?

Can someone familiar with the Linux Kernel (2.2 or higher) explain this in more
detail. Can I patch the kernel to get rid of this behaviour?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: More mmap/Linux questions
  2000-08-31  9:52 More mmap/Linux questions j_clifton
@ 2000-08-31 13:23 ` Mark Kettenis
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Kettenis @ 2000-08-31 13:23 UTC (permalink / raw)
  To: j_clifton; +Cc: gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

   Date: Thu, 31 Aug 2000 12:52:02 -0400
   From: <j_clifton@aerosimulation.com>

   Can someone familiar with the Linux Kernel (2.2 or higher) explain this in more
   detail. Can I patch the kernel to get rid of this behaviour?

You'll probably have more success asking your question on the
linux-kernel mailing list (linux-kernel@kernel.org).

Mark
From olivier.isnard@ipsn.fr Fri Sep 01 02:32:00 2000
From: ISNARD Olivier 132311 <olivier.isnard@ipsn.fr>
To: "'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: Q: using gdb and lahey compiler
Date: Fri, 01 Sep 2000 02:32:00 -0000
Message-id: <FEC064C12976D31197DA00A0C9E93C90760ED3@ALGER>
X-SW-Source: 2000-09/msg00000.html
Content-length: 445

Hi all !

For some reason I have to use the Lahey fortran 90 compiler and I wonder if
it is possible to debug
such a generated program with gdb. I'm also using cygwin (NT pc).




____________

Dr. Olivier Isnard
IPSN
Département de Prévention et d'Etudes des Accidents
Service d'Etudes des Situations de Crises et d'Informatique
BP 6 - 92265 FONTENAY AUX ROSES Cedex
Tel  : 01 46 54 73 85
Fax : 01 46 54 90 40
Email : Olivier.Isnard@Ipsn.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-08-31 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-31  9:52 More mmap/Linux questions j_clifton
2000-08-31 13:23 ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox