all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongxu Chen <leftcopy.chx@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Ask for some advice on Emacs GDB for large project
Date: Mon, 01 Jul 2013 16:26:05 +0800	[thread overview]
Message-ID: <87fvvy3cv6.fsf@gmail.com> (raw)


Hi guys,

  For some reason I am doing some coding on a large project(actually
  it's about llvm). When debugging with Emacs gdb, I feel that it is
  sometimes annoying:

  1. Since there are quite a lot of symbols inside the project, when
  looking at some identifiers(but NOT locals) in the source code,
  sometimes I use `TAB' for auto-complete, I often need to wait gdb
  quite a long time to list all the candidate that might match(quite a
  lot of symbols that is nothing but useless). however I only need to
  see *whatis SOME_ID*, how can I make it with some tweaks?

  2. The cursor is not guaranteed when some gdb command is executed, so
  I have to use `M->' to force it there. Is there some good `advice' or
  customizable variables to automatically do this?

  3. How can I change the size of the windows when in gdb-many-windows
  mode? Any sample code?

  4. What's the good practice for gdb step/next etc. Should I hit every
  command in the command window or set some keymaps in the source code
  mode and then press the command?

  It would be appreciated if some sample code is included. 
  Thanks!

-- 
Regards,
Hongxu Chen



                 reply	other threads:[~2013-07-01  8:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvvy3cv6.fsf@gmail.com \
    --to=leftcopy.chx@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.