ftp.nice.ch/Attic/openStep/developer/bundles/GDBbundle.1.0.s.tgz#/GDBbundle-1.0.s/debug/gdb/gdb/next/DisplaySupport/GuiGdbCmd.h

This is GuiGdbCmd.h in view mode; [Download] [Up]

//
// GdbCmd objects get created for the DebuggerController object
// in the Controllers's thread.
// The GuiGdbManger mantains a queue of commands. A command can
// be a string for gdb to evaluate and execute or it can be a special
// command telling gdb to go and read stdin and process what it finds there.
//

typedef enum {
   GDB_CMD_EXEC,
   GDB_CMD_INPUT_PENDING
} Gdb_cmd_type;


@interface GdbCmd : NSObject
{
  @private
   NSString		*cmd;
   BOOL			useTty;
   BOOL			useAnnotation;
   BOOL			catchOutput;
   Gdb_cmd_type	type;
  @public
   GdbCmd		*next;
}

- initWithCmd:(NSString*)c
       ofType:(Gdb_cmd_type)t
       useTty:(BOOL) tty
useAnnotation:(BOOL)annotation
  catchOutput:(BOOL)catch;

- initWithCmd:(NSString*)c
       ofType:(Gdb_cmd_type)t
       useTty:(BOOL) tty
useAnnotation:(BOOL)anno;

- initWithCmd:(NSString*)c
       ofType:(Gdb_cmd_type)t;

- (void) dealloc;

- (Gdb_cmd_type)getType;

// note: the returned string is retained by the Cmd object
- (NSString *)getCmd;

- (BOOL) useTty;
- (BOOL) useAnnotation;
- (BOOL)catchOutput;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.