You can set a breakpoint at a line number, using the dbx stop at command:
(dbx) stop at filename: n
where n is a source code line number and filename is an optional program file name qualifier. For example
(dbx)stop at main.cc:3
If the line specified in a stop or when command is not an executable line of source code, dbx sets the breakpoint at the next executable line.