How to Add a New Breakpoint Table
Copy
menuConvert.dbd
frombase/dbd
to the app’s src directory.In the src directory, create a breakpoint table file
<bpname>.dbd
. Look atbase/dbd/bpt*.dbd
for the proper format.In
src/menuConvert.dbd
, add a line for your new breakpoint table, using the breaktable name from the first line of<bpname>.dbd
. Look at the existing breakpoint table entries inmenuConvert.dbd
for the proper format.Two options depending on the monotonicity and base version
If the breakpoint table is monotonic or epics base is < 3.14.9, add
<bpname>.dbd
tosrc/<appname>Support.dbd
:
include <bpname>.dbd
If Makefile is used instead of
<appname>Support.dbd
, add tosrc/Makefile
:<appname>_DBD += <bpname>.dbd
If the breakpoint table is non-monotonic and epics base > 3.14.8, install
<bpname>.dbd
by itself insrc/Makefile
:
DBD += <bpname>.dbd
Clean/build src.
Use the breaktable name in the record’s LINR field. Make sure that the device support for the record supports conversion.
If the breakpoint table is non-monotonic and epics base > 3.14.8, change
st.cmd
to set the non-monotonic flag and load the breakpoint table:
dbBptNotMonotonic=1 (rtems, vxWorks)
or:
var dbBptNotMonotonic 1 (soft)
then:
dbLoadRecords("dbd/<bpname>.dbd")