Mercurial > emacs
comparison lisp/gud.el @ 47398:e813511ab632
(gud-gdb-massage-args): Don't secretly add -fullname.
(gud-query-cmdline): Add --fullname to the user cmdline.
author | Simon Josefsson <jas@extundo.com> |
---|---|
date | Wed, 11 Sep 2002 05:07:25 +0000 |
parents | 02b2708043f0 |
children | b2fb48df4f9f |
comparison
equal
deleted
inserted
replaced
47397:59f49f86cf87 | 47398:e813511ab632 |
---|---|
305 | 305 |
306 ;;; History of argument lists passed to gdb. | 306 ;;; History of argument lists passed to gdb. |
307 (defvar gud-gdb-history nil) | 307 (defvar gud-gdb-history nil) |
308 | 308 |
309 (defun gud-gdb-massage-args (file args) | 309 (defun gud-gdb-massage-args (file args) |
310 (cons "-fullname" args)) | 310 args) |
311 | 311 |
312 (defvar gud-gdb-marker-regexp | 312 (defvar gud-gdb-marker-regexp |
313 ;; This used to use path-separator instead of ":"; | 313 ;; This used to use path-separator instead of ":"; |
314 ;; however, we found that on both Windows 32 and MSDOS | 314 ;; however, we found that on both Windows 32 and MSDOS |
315 ;; a colon is correct here. | 315 ;; a colon is correct here. |
381 (cmd-name (gud-val 'command-name minor-mode))) | 381 (cmd-name (gud-val 'command-name minor-mode))) |
382 (unless (boundp hist-sym) (set hist-sym nil)) | 382 (unless (boundp hist-sym) (set hist-sym nil)) |
383 (read-from-minibuffer | 383 (read-from-minibuffer |
384 (format "Run %s (like this): " minor-mode) | 384 (format "Run %s (like this): " minor-mode) |
385 (or (car-safe (symbol-value hist-sym)) | 385 (or (car-safe (symbol-value hist-sym)) |
386 (concat (or cmd-name (symbol-name minor-mode)) " " init)) | 386 (concat (or cmd-name (symbol-name minor-mode)) " --fullname " init)) |
387 gud-minibuffer-local-map nil | 387 gud-minibuffer-local-map nil |
388 hist-sym))) | 388 hist-sym))) |
389 | 389 |
390 ;;;###autoload | 390 ;;;###autoload |
391 (defun gdb (command-line) | 391 (defun gdb (command-line) |