Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
dfc398f4
Commit
dfc398f4
authored
Apr 22, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge preview, handling of exceptino when runtime not started
parent
88bf5322
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
3 deletions
+17
-3
src/lib/rt/src/rt_gdb.c
src/lib/rt/src/rt_gdb.c
+4
-1
src/msg/rt/src/rt_gdh_msg.msg
src/msg/rt/src/rt_gdh_msg.msg
+1
-0
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
+2
-0
xtt/exe/rt_xtt/src/xtt_main.cpp
xtt/exe/rt_xtt/src/xtt_main.cpp
+2
-0
xtt/lib/ge/src/ge.cpp
xtt/lib/ge/src/ge.cpp
+8
-2
No files found.
src/lib/rt/src/rt_gdb.c
View file @
dfc398f4
...
...
@@ -1125,7 +1125,10 @@ gdb_MapDb (
/* Map lock sections. */
gdbroot
->
lock
=
sect_Alloc
(
sts
,
&
created
,
&
gdbroot
->
h
.
lock
,
sizeof
(
sect_sMutex
),
gdb_cNameDbLock
,
0
);
if
(
gdbroot
->
lock
==
NULL
)
errh_Bugcheck
(
*
sts
,
"mapping db lock"
);
if
(
gdbroot
->
lock
==
NULL
)
{
errh_Fatal
(
"Error mapping db lock
\n
%m"
,
*
sts
);
pwr_Return
(
NULL
,
sts
,
GDH__DBLOCK
);
}
if
(
created
)
{
sect_Free
(
&
lsts
,
gdbroot
->
lock
);
pwr_Return
(
NULL
,
sts
,
GDH__RTNOTSTARTED
);
...
...
src/msg/rt/src/rt_gdh_msg.msg
View file @
dfc398f4
...
...
@@ -101,6 +101,7 @@ file <Unable to open file> /error
convert <Unable to convert value> /error
readonly <Object or attribute is read only> /error
remotemount <Remotly mounted object> /error
dblock <Unable to map db lock> /error
.end
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
View file @
dfc398f4
...
...
@@ -689,6 +689,8 @@ XttGtk::XttGtk( int argc, char *argv[], int *return_sts) :
char
title
[
120
]
=
"Xtt "
;
char
nodename
[
80
];
if
(
EVEN
(
*
return_sts
))
return
;
gtk_init
(
&
argc
,
&
argv
);
setlocale
(
LC_TIME
,
"en_US"
);
...
...
xtt/exe/rt_xtt/src/xtt_main.cpp
View file @
dfc398f4
...
...
@@ -550,6 +550,8 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) :
static
char
display
[
80
];
static
char
display_opt
[
20
]
=
"--display"
;
*
return_sts
=
XNAV__SUCCESS
;
strcpy
(
opplace_str
,
""
);
hot_xtt
=
this
;
...
...
xtt/lib/ge/src/ge.cpp
View file @
dfc398f4
...
...
@@ -755,8 +755,14 @@ void Ge::activate_change_name()
void
Ge
::
activate_preview_start
()
{
graph
->
init_trace
();
set_title
();
int
sts
;
sts
=
graph
->
init_trace
();
if
(
EVEN
(
sts
))
{
message
(
'E'
,
"Unable to start Preview"
);
}
else
set_title
();
}
void
Ge
::
activate_preview_stop
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment