Experimental Physics and Industrial Control System
|
>How exactly do i run the IOC from gdb?
# Go to the directory that has the st.cmd file
cd iocStart/your_ioc_directory
# Check the st.cmd file. It should start with something like
# "#!../../bin/linuxx86_64/name_of_your_ioc_binary"
#
# That's what you load into GDB
gdb ../../bin/linuxx86_64/name_of_your_ioc_binary
# Then, inside gdb, you start the process with the st.cmd file as input
run st.cmd
# Once it crashes, list the threads
info threads
# Pick one
thread 3
# Get backtrace
bt
# Select some interesting stack frame
frame 2
# print stuff
print some_var
print *some_pointer_var
- Replies:
- RE: Segmentation fault when setting motorStatusProblem_ to 1 Sobhani, Bayan
- References:
- Segmentation fault when setting motorStatusProblem_ to 1 Sobhani, Bayan
- RE: Segmentation fault when setting motorStatusProblem_ to 1 Mark Rivers
- RE: Segmentation fault when setting motorStatusProblem_ to 1 Sobhani, Bayan
- Navigate by Date:
- Prev:
RE: Segmentation fault when setting motorStatusProblem_ to 1 Mark Rivers
- Next:
RE: Segmentation fault when setting motorStatusProblem_ to 1 Sobhani, Bayan
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Segmentation fault when setting motorStatusProblem_ to 1 Mark Rivers
- Next:
RE: Segmentation fault when setting motorStatusProblem_ to 1 Sobhani, Bayan
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|
ANJ, 01 Feb 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|