Added the return address information in the call stack
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / exceptionvectortablebrowser.h
index 31dfca3..aaccda0 100644 (file)
@@ -7,10 +7,13 @@
 #ifndef __EXCEPTIONVECTORTABLEBROWSER_H__
 #define __EXCEPTIONVECTORTABLEBROWSER_H__
 
+//#define EV_LAYOUTTEXTS                                               // Use a layout with just texts
+
 #include <QtWidgets>
 #include <stdint.h>
 
 
+// 
 class ExceptionVectorTableBrowserWindow: public QWidget
 {
        Q_OBJECT
@@ -20,24 +23,20 @@ class ExceptionVectorTableBrowserWindow: public QWidget
                ~ExceptionVectorTableBrowserWindow(void);
 
        public slots:
-//             void DefineAllKeys(void);
                void RefreshContents(void);
-//             void GoToAddress(void);
 
        protected:
-//             void keyPressEvent(QKeyEvent *);
+               void keyPressEvent(QKeyEvent *);
 
        private:
                QVBoxLayout *layout;
-//             QTextBrowser * text;
-//             QLabel *text;
+#ifdef EV_LAYOUTTEXTS
                QTextBrowser *text;
+#else
+               QTableView *TableView;
+               QStandardItemModel *model;
+#endif
                QPushButton *refresh;
-//             QLineEdit *address;
-//             QPushButton *go;
-//             WatchInfo *PtrWatchInfo;
-//             int32_t memBase;
-//             size_t NbWatch;
 };
 
 #endif // __EXCEPTIONVECTORTABLEBROWSER_H__