Hi Nick,
Rees, NP (Nick) wrote:
The dbBkpt changes. Modified R3.14.9-pre2 files are attached, and the
diffs are given at the end of this message. The bottom line is that I
created a dbBkptInit routine that needs to be called at initialisation,
and then most problems go away (I think).
Thanks; I used that as the basis for what I've committed, which included
a little cleanup (I renamed lset_stack_not_empty to lset_stack_count and
maintain its value strictly according to the ellAdd/ellDelete calls.
The only question I had was where/how to call the dbBkptInit. Hence the
changes to dbBkptRegister so I can call it from the iocsh. However, I
really want it to always be called from iocInit, and I don't know the
recommended way to do this. I presume I can call initHookRegister in
dbBkptRegister, but then it probably doesn't happen in the VxWorks
environment. How do I do this in base?
I didn't add dbBkptInit() as a command like you did, but call it from
iocInit() instead.
The result seems to be less fragile than before, as I didn't manage to
cause any crashes in my tests. The output from the breakpoint commands
isn't particularly user-friendly, but this is better than it was.
- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger
- Replies:
- RE: Problems with database breakpoint routines. Rees, NP (Nick)
- Navigate by Date:
- Prev:
Re: Patches for recognizing external dependencies Andrew Johnson
- Next:
Re: EPICS on Tru64unix and HP-UX Andrew Johnson
- Index:
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: yet another bug in mkmf.pl Janet Anderson
- Next:
RE: Problems with database breakpoint routines. Rees, NP (Nick)
- Index:
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|