Commit b4fb2725 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

* Now supports show-at-pointer and show-centred showtypes.

* Version number now maintained by srccommit.

Version 0.15. Tagged as 'ProgInfo-0_15'
parent 2f6500d1
...@@ -52,6 +52,7 @@ CPFLAGS = ~cfr~v ...@@ -52,6 +52,7 @@ CPFLAGS = ~cfr~v
WFLAGS = ~c~v WFLAGS = ~c~v
CFLAGS = -c -depend !Depend ${INCLUDES} -zM -ffah -zps1 ${DFLAGS} CFLAGS = -c -depend !Depend ${INCLUDES} -zM -ffah -zps1 ${DFLAGS}
CMHGFLAGS= -depend !Depend -p
DFLAGS = -D${SYSTEM} DFLAGS = -D${SYSTEM}
ROMFLAGS = -DROM ROMFLAGS = -DROM
INCLUDES = -I<Lib$Dir>.tboxlibint.,<Lib$Dir>.tboxlibs:,C: INCLUDES = -I<Lib$Dir>.tboxlibint.,<Lib$Dir>.tboxlibs:,C:
...@@ -101,7 +102,7 @@ RESF=o.res ...@@ -101,7 +102,7 @@ RESF=o.res
# Rule patterns # Rule patterns
# #
.c.o:; ${CC} ${CFLAGS} ${ROMFLAGS} -o $@ $< .c.o:; ${CC} ${CFLAGS} ${ROMFLAGS} -o $@ $<
.cmhg.o:; ${CMHG} -o $@ $< .cmhg.o:; ${CMHG} ${CMHGFLAGS} -o $@ $<
# #
# Main rules: # Main rules:
......
/* (0.14) /* (0.15)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 0.14 #define Module_MajorVersion_CMHG 0.15
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 Jul 1998 #define Module_Date_CMHG 14 Jul 1998
#define Module_MajorVersion "0.14" #define Module_MajorVersion "0.15"
#define Module_Version 14 #define Module_Version 15
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "14 Jul 1998" #define Module_Date "14 Jul 1998"
...@@ -110,7 +110,7 @@ _kernel_oserror *show_actual (void) { ...@@ -110,7 +110,7 @@ _kernel_oserror *show_actual (void) {
return e; return e;
} }
show_info = global_next->show_info; show_info = global_next->show_info;
show_type = (show_info) ? ((global_next->flags & ProgInfoInternal_FullInfoShow) ? 1 : 2) : 0; show_type = global_next->show_type;
regs.r[4] = regs.r[0]; /* parent id */ regs.r[4] = regs.r[0]; /* parent id */
regs.r[5] = regs.r[1]; /* parent component */ regs.r[5] = regs.r[1]; /* parent component */
......
...@@ -114,6 +114,8 @@ extern _kernel_oserror *show_object (_kernel_swi_regs *r, TaskDescriptor *t) ...@@ -114,6 +114,8 @@ extern _kernel_oserror *show_object (_kernel_swi_regs *r, TaskDescriptor *t)
break; break;
} }
internal->show_type = user_regs->r[2];
if (internal->flags & ProgInfoInternal_GenerateShowEvent) { if (internal->flags & ProgInfoInternal_GenerateShowEvent) {
regs.r[0] = 0; /* flags*/ regs.r[0] = 0; /* flags*/
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
; History: 7-Feb-94: TGR: created from IDJ template ; History: 7-Feb-94: TGR: created from IDJ template
; ;
#include "VersionNum"
initialisation-code: ProgInfo_init initialisation-code: ProgInfo_init
...@@ -27,7 +28,7 @@ service-call-handler: ProgInfo_services 0x44ec1, 0x44ec2, 0x44ec3 ...@@ -27,7 +28,7 @@ service-call-handler: ProgInfo_services 0x44ec1, 0x44ec2, 0x44ec3
title-string: ProgInfo title-string: ProgInfo
help-string: ProgInfo 0.14 help-string: ProgInfo Module_MajorVersion_CMHG
command-keyword-table: ProgInfo_commands command-keyword-table: ProgInfo_commands
ProgInfo_Memory() ProgInfo_Memory()
...@@ -38,4 +39,4 @@ swi-handler-code: ProgInfo_SWI_handler ...@@ -38,4 +39,4 @@ swi-handler-code: ProgInfo_SWI_handler
swi-decoding-table: ProgInfo, ClassSWI, PostFilter, PreFilter swi-decoding-table: ProgInfo, ClassSWI, PostFilter, PreFilter
date-string: 17 Feb 1998 date-string: Module_Date_CMHG
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
; History: 7-Feb-94: TGR: created from IDJ template ; History: 7-Feb-94: TGR: created from IDJ template
; ;
#include "VersionNum"
initialisation-code: ProgInfo_init initialisation-code: ProgInfo_init
...@@ -27,7 +28,7 @@ service-call-handler: ProgInfo_services 0x44ec1, 0x44ec2, 0x44ec3 ...@@ -27,7 +28,7 @@ service-call-handler: ProgInfo_services 0x44ec1, 0x44ec2, 0x44ec3
title-string: ProgInfo title-string: ProgInfo
help-string: ProgInfo 0.14 help-string: ProgInfo Module_MajorVersion_CMHG
swi-chunk-base-number: 0x82b40 swi-chunk-base-number: 0x82b40
...@@ -35,4 +36,4 @@ swi-handler-code: ProgInfo_SWI_handler ...@@ -35,4 +36,4 @@ swi-handler-code: ProgInfo_SWI_handler
swi-decoding-table: ProgInfo, ClassSWI, PostFilter, PreFilter swi-decoding-table: ProgInfo, ClassSWI, PostFilter, PreFilter
date-string: 17 Feb 1998 date-string: Module_Date_CMHG
...@@ -40,6 +40,7 @@ typedef struct _prog_info_internal { ...@@ -40,6 +40,7 @@ typedef struct _prog_info_internal {
struct _prog_info_internal *forward; struct _prog_info_internal *forward;
struct _prog_info_internal *backward; struct _prog_info_internal *backward;
int flags; int flags;
int show_type;
ShowInfo *show_info; ShowInfo *show_info;
ObjectID object_id,sub_object_id; ObjectID object_id,sub_object_id;
int licence_type; int licence_type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment