To: 
Distribution: world
 Help in developing a X-Windows interface for GDB
Organization: Motorola, Semiconductor Products Sector
Lines: 39

Hi,

  I am trying to write an X-windows based interface that runs on top of GDB. Could 
anyone help me in understanding the way we are supposed to "fork" GDB off as a 
subprocess ?? I currently use pipes but when I try and debug this program, the 
following happens :

PROGRAM :

	main
	{
           int x;
 

	   printf;
           scanf;
           printf;

        }

OUTPUT :

	The program hangs without returning the output of the printf statement. When I type
in a value , then all the printf's output comes out at one time.


Is there any other way, besides using PIPES to do this i.e., like ioctl or something else ??

Thanks,

Deepak

--------------------------------------------------------------------------------------------
Deepak Mulchandani
Advanced Products Research and Development Laboratory
Motorola, Semiconductor Products Sector
Austin, TX
 928-7642 							     

