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

Re: gdb, gcc, a.out

I tried it out on Linux.
even if gdb is waiting on a breakpoint, I could modify the executable,
continue in gdb gave me old result.
But after that for next run, gdb loaded the modified executable. and
produced new result.


Shridhar Daithankar wrote:

> Hi
> You can try that on linux. I don't know what will happen. But consider this.
> 1)Your a.out is waiting.
> 2)You can not create another a.out in the same directory, die to file system
> restriction...
> 3)If you create a.out in another directory, it's a different binary for OS and
> for no reason it should conflict with anything else.
> Gurus, correct me if I am wrong...
> I hope this is what you requested.....
> Bye
>  Shridhar