text/data segments in cygnus executables

Read, Gordon GRead@Broner.co.uk
Thu Aug 5 02:46:00 GMT 1999


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

Gordon Read

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list