[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

gdb, gcc, a.out

Hi All,
	I have a file x.c after compling it with gcc and running gdb
a.out, I set a break point and made the a.out to wait. Now, I made same
copy of x.c and tried to compile it. On Sun OS,
it is compiling with no errors and on HP-UX it's giving an error , unable
to create a.out as the text portion(of the executable) is busy.

Now I would like to know how linux behaves, and I feel HP-UX is correct,
as the text portion of an application program is shared by many instances
and only the data portion changes(like vi etc).

Ramesh PVN