Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Read, Gordon" To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: text/data segments in cygnus executables Date: Thu, 5 Aug 1999 10:44:37 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain Hi I need to find out the addresses of the the various segments in the currently running process (i.e. the start address of the text segment, data segment and so on), these are the values reported by "size -A program.exe". How do I do this from within a C program compiled using gcc under cygnus? gcc -v: gcc version egcs-2.91.57 19980901 (egcs-1.1 release) uname -a: CYGWIN_NT-4.0 BGPC61 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown Thanks Gordon Read -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com