Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb-emacs : data frame/buffer.
@ 2006-07-24 12:42 Richard (sent by Nabble.com)
  2006-07-24 15:26 ` Daniel Jacobowitz
  2006-07-24 22:09 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Richard (sent by Nabble.com) @ 2006-07-24 12:42 UTC (permalink / raw)
  To: gdb


Has anyone implemented, or know of, facilities to use emacs buffers to
display watchpoints, locals etc when debugging a C program? I dont really
like DDD and would sooner stay in emacs mode if possible, but find the GUD
interface a tad cumbersome as it is. Ideally seperate buffers for display(s)
and locals.

-- 
View this message in context: http://www.nabble.com/gdb-emacs-%3A-data-frame-buffer.-tf1990786.html#a5463285
Sent from the gdb - General forum at Nabble.com.


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

* Re: gdb-emacs : data frame/buffer.
  2006-07-24 12:42 gdb-emacs : data frame/buffer Richard (sent by Nabble.com)
@ 2006-07-24 15:26 ` Daniel Jacobowitz
  2006-07-24 16:49   ` Richard
  2006-07-24 22:09 ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-07-24 15:26 UTC (permalink / raw)
  To: Richard; +Cc: gdb

On Mon, Jul 24, 2006 at 01:10:14AM -0700, Richard (sent by Nabble.com) wrote:
> 
> Has anyone implemented, or know of, facilities to use emacs buffers to
> display watchpoints, locals etc when debugging a C program? I dont really
> like DDD and would sooner stay in emacs mode if possible, but find the GUD
> interface a tad cumbersome as it is. Ideally seperate buffers for display(s)
> and locals.

There's a much better interface now, but as far as I know, you need
emacs CVS to use it.  See mi/gdb-mi.el.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: gdb-emacs : data frame/buffer.
  2006-07-24 15:26 ` Daniel Jacobowitz
@ 2006-07-24 16:49   ` Richard
  2006-07-24 17:04     ` Daniel Jacobowitz
  2006-07-25  0:41     ` Nick Roberts
  0 siblings, 2 replies; 6+ messages in thread
From: Richard @ 2006-07-24 16:49 UTC (permalink / raw)
  To: Richard; +Cc: gdb


I followed the information here:

http://www.inet.net.nz/~nickrob/

which says all I need to do is:

sudo  apt-get install emacs-snapshot-gtk

and then follow the tutorial here : http://linuxjournal.com/article/7876

My emacs reports itself still as 21.4 though and M-gdb acts as before.

Has anyone updated debian recently and can advise on this please? I'm
not a debian/ubuntu guru and have no idea how to get emacs from the
command line to use the snapshot version.




-- 

Daniel Jacobowitz <drow@false.org> writes:

> On Mon, Jul 24, 2006 at 01:10:14AM -0700, Richard (sent by Nabble.com) wrote:
>> 
>> Has anyone implemented, or know of, facilities to use emacs buffers to
>> display watchpoints, locals etc when debugging a C program? I dont really
>> like DDD and would sooner stay in emacs mode if possible, but find the GUD
>> interface a tad cumbersome as it is. Ideally seperate buffers for display(s)
>> and locals.
>
> There's a much better interface now, but as far as I know, you need
> emacs CVS to use it.  See mi/gdb-mi.el.
>
> -- 
> Daniel Jacobowitz
> CodeSourcery
>

-- 


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

* Re: gdb-emacs : data frame/buffer.
  2006-07-24 16:49   ` Richard
@ 2006-07-24 17:04     ` Daniel Jacobowitz
  2006-07-25  0:41     ` Nick Roberts
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2006-07-24 17:04 UTC (permalink / raw)
  To: Richard; +Cc: gdb

On Mon, Jul 24, 2006 at 06:44:59PM +0200, Richard wrote:
> Has anyone updated debian recently and can advise on this please? I'm
> not a debian/ubuntu guru and have no idea how to get emacs from the
> command line to use the snapshot version.

Probably it's called emacs22 or something like that.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: gdb-emacs : data frame/buffer.
  2006-07-24 12:42 gdb-emacs : data frame/buffer Richard (sent by Nabble.com)
  2006-07-24 15:26 ` Daniel Jacobowitz
@ 2006-07-24 22:09 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2006-07-24 22:09 UTC (permalink / raw)
  To: Richard; +Cc: gdb

> Date: Mon, 24 Jul 2006 01:10:14 -0700 (PDT)
> From: "Richard (sent by Nabble.com)" <lists@nabble.com>
> 
> 
> Has anyone implemented, or know of, facilities to use emacs buffers to
> display watchpoints, locals etc when debugging a C program?

You want the CVS version of Emacs and gdb-mi.el that comes with it.

The instructions how to get the CVS Emacs are here:

  http://savannah.gnu.org/cvs/?group=emacs


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

* Re: gdb-emacs : data frame/buffer.
  2006-07-24 16:49   ` Richard
  2006-07-24 17:04     ` Daniel Jacobowitz
@ 2006-07-25  0:41     ` Nick Roberts
  1 sibling, 0 replies; 6+ messages in thread
From: Nick Roberts @ 2006-07-25  0:41 UTC (permalink / raw)
  To: Richard; +Cc: gdb

Richard writes:
 > 
 > I followed the information here:
 > 
 > http://www.inet.net.nz/~nickrob/
 > 
 > which says all I need to do is:
 > 
 > sudo  apt-get install emacs-snapshot-gtk
 > 
 > and then follow the tutorial here : http://linuxjournal.com/article/7876
 > 
 > My emacs reports itself still as 21.4 though and M-gdb acts as before.

I dont think it has installed or, if both Emacs packages can be installed
at the same time, you're looking at the wrong one.

 > Has anyone updated debian recently and can advise on this please? I'm
 > not a debian/ubuntu guru and have no idea how to get emacs from the
 > command line to use the snapshot version.

I've installed emacs-snapshot-gtk on Ubuntu.  It reports itself as
emacs-22.0.50.12

If you're not behind a firewall, you might prefer to get the most recent
version directly from CVS (which really isn't much harder than downloading a
tarball):

  cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs

as described on http://savannah.gnu.org/cvs/?group=emacs

Then read INSTALL.CVS in the emacs directory for further instructions.

Once you've built Emacs you can keep updating to the new changes by doing:

  cvs up

from the emacs directory and following INSTALL.CVS.

This will also mean that you can submit up-to-date suggestions or patches to
the emacs-devel mailing list.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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

end of thread, other threads:[~2006-07-24 22:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-24 12:42 gdb-emacs : data frame/buffer Richard (sent by Nabble.com)
2006-07-24 15:26 ` Daniel Jacobowitz
2006-07-24 16:49   ` Richard
2006-07-24 17:04     ` Daniel Jacobowitz
2006-07-25  0:41     ` Nick Roberts
2006-07-24 22:09 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox