diff options
| author | Richard M. Stallman | 1994-10-21 19:27:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-21 19:27:26 +0000 |
| commit | 9fe320f1e3b8a6fa542ad5433734b4ab462944d3 (patch) | |
| tree | 27127d1f0489ec91b43b9b5b678f3af95849c575 | |
| parent | c880b9d57d31ec0c4bb8138a2d72e73438781941 (diff) | |
| download | emacs-9fe320f1e3b8a6fa542ad5433734b4ab462944d3.tar.gz emacs-9fe320f1e3b8a6fa542ad5433734b4ab462944d3.zip | |
(dbx): Delete call to gud-switch-to-buffer.
(gud-sdb-marker-filter): Handle SVR4 clumped lines.
| -rw-r--r-- | lisp/gud.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index c43f6e2d4ab..ed86d0fc655 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -362,6 +362,16 @@ available with older versions of GDB." | |||
| 362 | (substring string (match-beginning 2) (match-end 2)) | 362 | (substring string (match-beginning 2) (match-end 2)) |
| 363 | (string-to-int | 363 | (string-to-int |
| 364 | (substring string (match-beginning 3) (match-end 3)))))) | 364 | (substring string (match-beginning 3) (match-end 3)))))) |
| 365 | ;; System V Release 4.0 quite often clumps two lines together | ||
| 366 | ((string-match "^\\(BREAKPOINT\\|STEPPED\\) process [0-9]+ function [^ ]+ in \\(.+\\)\n\\([0-9]+\\):" | ||
| 367 | string) | ||
| 368 | (setq gud-sdb-lastfile | ||
| 369 | (substring string (match-beginning 2) (match-end 2))) | ||
| 370 | (setq gud-last-frame | ||
| 371 | (cons | ||
| 372 | gud-sdb-lastfile | ||
| 373 | (string-to-int | ||
| 374 | (substring string (match-beginning 3) (match-end 3)))))) | ||
| 365 | ;; System V Release 4.0 | 375 | ;; System V Release 4.0 |
| 366 | ((string-match "^\\(BREAKPOINT\\|STEPPED\\) process [0-9]+ function [^ ]+ in \\(.+\\)\n" | 376 | ((string-match "^\\(BREAKPOINT\\|STEPPED\\) process [0-9]+ function [^ ]+ in \\(.+\\)\n" |
| 367 | string) | 377 | string) |
| @@ -594,8 +604,6 @@ and source-file directory for your debugger." | |||
| 594 | nil nil | 604 | nil nil |
| 595 | '(gud-dbx-history . 1)))) | 605 | '(gud-dbx-history . 1)))) |
| 596 | 606 | ||
| 597 | (gud-switch-to-buffer command-line) | ||
| 598 | |||
| 599 | (cond | 607 | (cond |
| 600 | (gud-mips-p | 608 | (gud-mips-p |
| 601 | (gud-common-init command-line 'gud-mipsdbx-massage-args | 609 | (gud-common-init command-line 'gud-mipsdbx-massage-args |