From df1d77ade86635e2b2954064c746f3c0f8552167 Mon Sep 17 00:00:00 2001 From: Ryszard Glab Date: Wed, 21 Jan 2004 17:48:57 +0000 Subject: [PATCH] 2004-01-21 18:40 UTC+0100 Ryszard Glab +include/hbdebug.ch *added a missing file --- harbour/ChangeLog | 4 +++ harbour/include/hbdebug.ch | 65 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 harbour/include/hbdebug.ch diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 74f20b2d95..e467df18e7 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2004-01-21 18:40 UTC+0100 Ryszard Glab + +include/hbdebug.ch + *added a missing file + 2004-01-21 18:35 UTC+0100 Ryszard Glab * source/compiler/harbour.y *fixed generation of line number's pcode related to diff --git a/harbour/include/hbdebug.ch b/harbour/include/hbdebug.ch new file mode 100644 index 0000000000..a40f2027c8 --- /dev/null +++ b/harbour/include/hbdebug.ch @@ -0,0 +1,65 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Header file for debugger + * + * Copyright 1999 Ryszard Glab + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +/* NOTE: This file is also used by C code. */ + +#ifndef HB_DEBUGGER_CH_ +#define HB_DEBUGGER_CH_ + +/* Mode of __dbgEntry calls (the first parameter) */ +#define HB_DBG_MODULENAME 1 /* 2nd argumment is a module name */ +#define HB_DBG_LOCALNAME 2 /* 2nd argument is a local var name */ +#define HB_DBG_STATICNAME 3 /* 2nd arg is a static var name */ +#define HB_DBG_ENDPROC 4 /* exit from a procedure */ +#define HB_DBG_SHOWLINE 5 /* show current line */ + +#endif /* HB_DEBUGGER_CH_ */