help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting gdb


From: Colin S. Miller
Subject: Re: Starting gdb
Date: Thu, 03 Sep 2009 13:37:47 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)

Kay Ulbrich wrote:
Torsten Mueller wrote:

thank you for your suggestion.

It implies an entry in ~/.gdbinit like:

define myprog
  file myprog.exe
  set args --arg val
end

The problem is, that, when starting gdb in Emacs and running this macro,
one nice feature is not realized. This is the automatic opening of the
file containing the main() - function.

I thought, maybe gdb-mode offers some interface ...

Greetings
Kay



Kay,

Do the commands
  break main
  run
help?

HTH,
Colin S. Miller


--
Replace the obvious in my email address with the first three letters of the 
hostname to reply.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]