File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,8 @@ Argument COMINT-BUFFER is the assocaited gud process buffer."
129129 'keymap rdebug-breakpoint-mode-map)))
130130 (forward-line )))
131131 (goto-char (point-min ))
132- (forward-line (1- old-line-number))))
132+ (forward-line (1- old-line-number))
133+ ))
133134 (rdebug-breakpoint-parse-and-update-cache)
134135 (rdebug-breakpoint-update-icons (rdebug-breakpoint-all))))
135136
@@ -368,7 +369,7 @@ Argument PT indicates the file and line where the breakpoint should be set."
368369 (set-buffer buf)
369370 (save-excursion
370371 (goto-char (point-min ))
371- (forward-line (nth 4 entry))
372+ (forward-line (1- ( nth 4 entry) ))
372373 ; ; Workaround for bug in `gdb-ui' . (It checks
373374 ; ; `left-fringe-width' but it doesn't interpret the
374375 ; ; `nil' value correctly.
You can’t perform that action at this time.
0 commit comments