This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

text/data segments in cygnus executables


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]