I'm trying to use gdb to debug an EPICS soft-ioc on linux (RHEL-5).
Does anyone know how to redirect the iocsh stdin and stdout to
another terminal?
The gdb manual says to use "set inferior-tty /dev/pts/0", but when I
try it I get the following warning on /dev/pts/0:
warning: GDB: Failed to set controlling terminal: Operation not permitted
I then see normal iocsh output up to the
iocInit() call, but then I get an error on the gdb tty that says
"Spurious thread death event" and typing commands on /dev/pts/0
results in that command being sent to bash instead of the gdb iocsh.
Any suggestions would be welcome.
Thanks,
- Bruce Hill
- Replies:
- Re: Debugging EPICS with gdb Till Straumann
- Re: Debugging EPICS with gdb Ernest L. Williams Jr.
- Navigate by Date:
- Prev:
RE: Base-3.14.12 (win32) on win 7 64 bit system Brands Helge
- Next:
Re: Debugging EPICS with gdb Till Straumann
- 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: RE: Base-3.14.12 (win32) on win 7 64 bit system Kazimierz Gofron
- Next:
Re: Debugging EPICS with gdb Till Straumann
- 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
|