all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gdb-create-source-file-list and gdb-mi.el
@ 2011-11-18 10:29 Aneesh Kumar K.V
  0 siblings, 0 replies; 6+ messages in thread
From: Aneesh Kumar K.V @ 2011-11-18 10:29 UTC (permalink / raw)
  To: Emacs development discussions; +Cc: Chong Yidong, Stefan Monnier


gdb-mi.el does the below

  ;; find source file and compilation directory here
  (gdb-input
                                        ; Needs GDB 6.2 onwards.
   (list "-file-list-exec-source-files" 'gdb-get-source-file-list))
  (if gdb-create-source-file-list
      (gdb-input
                                        ; Needs GDB 6.0 onwards.
       (list "-file-list-exec-source-file" 'gdb-get-source-file)))

Don't we need to make sure the the "-file-list-exec-source-files"  also
come withing the gdb-crate-source-file-list check ?. Current gdb with
linux kernel vmlinux takes so much time to give me the prompt.

-aneesh




^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re:gdb-create-source-file-list and gdb-mi.el
@ 2011-11-23  7:05 Nick Roberts
  2011-11-25 22:28 ` gdb-create-source-file-list " Ken Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nick Roberts @ 2011-11-23  7:05 UTC (permalink / raw)
  To: aneesh.kumar; +Cc: emacs-devel

> gdb-mi.el does the below
> 
>   ;; find source file and compilation directory here
>   (gdb-input
>                                         ; Needs GDB 6.2 onwards.
>    (list "-file-list-exec-source-files" 'gdb-get-source-file-list))
>   (if gdb-create-source-file-list
>       (gdb-input
>                                         ; Needs GDB 6.0 onwards.
>        (list "-file-list-exec-source-file" 'gdb-get-source-file)))

> Don't we need to make sure the the "-file-list-exec-source-files"  also
> come withing the gdb-crate-source-file-list check ?. Current gdb with
> linux kernel vmlinux takes so much time to give me the prompt.

Yes it looks like I made a mistake.  The if clause should be around the first gdb-input.

I don't know the status of the freeze so I've not committed this change. 

Nick




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-30  3:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 10:29 gdb-create-source-file-list and gdb-mi.el Aneesh Kumar K.V
  -- strict thread matches above, loose matches on Subject: below --
2011-11-23  7:05 Nick Roberts
2011-11-25 22:28 ` gdb-create-source-file-list " Ken Brown
2011-11-26  7:00 ` Chong Yidong
2011-11-29  7:52 ` Aneesh Kumar K.V
2011-11-29  8:45   ` Nick Roberts
2011-11-29 15:29     ` gdb-create-source-file-list " Ken Brown
2011-11-29 18:46       ` Stefan Monnier
2011-11-30  3:32         ` Ken Brown

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.