/* Stack.h created by ovidiu on Sat 22-Mar-1997 */

#import <Foundation/NSObject.h>
#import <GuiDisplayProvider_Protocol.h>

@class GdbDisplayController;

@interface Stack : NSObject
{
  GdbDisplayController* gdbController;
  NSMutableArray* frames;
  int selectedFrame;
}

- (void)setGdbController:(GdbDisplayController*)object;
- (void)createStackFromGdbBacktrace:(NSString*)gdbOutput type:(GdbOutputType)t;

- (NSArray*)frames;
- (GdbDisplayController*)gdbController;

- (void)setSelectedFrame:(int)newFrame;
- (int)selectedFrame;

@end
