all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 22 rpm's
@ 2009-03-03 21:26 Brendan Miller
  2009-03-04 10:03 ` Nick Roberts
  0 siblings, 1 reply; 5+ messages in thread
From: Brendan Miller @ 2009-03-03 21:26 UTC (permalink / raw)
  To: help-gnu-emacs

My understanding is that more recent versions of emacs (22.1 and
forwards) have a much nicer gdb frontend built in.

I need to use emacs-nox to remote debug a bunch of machines over ssh
that have gdb, but no gcc installed on them. I have the older version,
but I'd like to get the newer version of emacs for the nice gdb
support.

Compiling individually on each machine isn't really practical because
it's an operation I would need to repeat regularly, and I'd need to
set up the dev environment as well (I these machines don't have gcc or
appropriate dev packages), which again would be time consuming, and
kind of pointless since I just need the binaries.

So, does anyone know where I can find more recent rpm's compatible
with RHEL4/Centos4?

Thanks,
Brendan




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

* emacs 22 rpm's
  2009-03-03 21:26 emacs 22 rpm's Brendan Miller
@ 2009-03-04 10:03 ` Nick Roberts
  2009-03-04 17:33   ` Brendan Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Roberts @ 2009-03-04 10:03 UTC (permalink / raw)
  To: Brendan Miller; +Cc: help-gnu-emacs

Brendan Miller writes:
 > My understanding is that more recent versions of emacs (22.1 and
 > forwards) have a much nicer gdb frontend built in.
 > 
 > I need to use emacs-nox to remote debug a bunch of machines over ssh
 > that have gdb, but no gcc installed on them. I have the older version,
 > but I'd like to get the newer version of emacs for the nice gdb
 > support.
 > 
 > Compiling individually on each machine isn't really practical because
 > it's an operation I would need to repeat regularly, ...

I'm not sure exactly what you are trying to do but you but you only need emacs
22 on your host machine, if you have gdb on your remote machines, and you use
a recent version of Tramp, as explained in the Tramp manual:

  With TRAMP, it is possible to
  debug programs on remote hosts.  You can call `gdb' with a remote file
  name:

       M-x gdb <RET>
       Run gdb (like this): gdb --annotate=3 /ssh:host:~/myprog <RET>


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




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

* Re: emacs 22 rpm's
  2009-03-04 10:03 ` Nick Roberts
@ 2009-03-04 17:33   ` Brendan Miller
  2009-03-04 20:54     ` Peter Dyballa
  2009-03-05  5:54     ` Nick Roberts
  0 siblings, 2 replies; 5+ messages in thread
From: Brendan Miller @ 2009-03-04 17:33 UTC (permalink / raw)
  To: Nick Roberts; +Cc: help-gnu-emacs

On Wed, Mar 4, 2009 at 2:03 AM, Nick Roberts <nickrob@snap.net.nz> wrote:
> Brendan Miller writes:
> I'm not sure exactly what you are trying to do but you but you only need emacs
> 22 on your host machine, if you have gdb on your remote machines, and you use
> a recent version of Tramp, as explained in the Tramp manual:
>
>  With TRAMP, it is possible to
>  debug programs on remote hosts.  You can call `gdb' with a remote file
>  name:
>
>       M-x gdb <RET>
>       Run gdb (like this): gdb --annotate=3 /ssh:host:~/myprog <RET>

Hmm, I hadn't heard of tramp. I'll give that a shot. So is tramp an
extension to gdb?

It doesn't use gdb's built in remote debugging does it? I can't use
that since it requires exactly the same libraries on host and remote,
which is more or less impossible in my situation.




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

* Re: emacs 22 rpm's
  2009-03-04 17:33   ` Brendan Miller
@ 2009-03-04 20:54     ` Peter Dyballa
  2009-03-05  5:54     ` Nick Roberts
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2009-03-04 20:54 UTC (permalink / raw)
  To: Brendan Miller; +Cc: help-gnu-emacs


Am 04.03.2009 um 18:33 schrieb Brendan Miller:

> So is tramp an extension to gdb?


No. It's, among others, a means to communicate with remote sites. And  
their tools.

--
Greetings

   Pete

Ce qui été compris n'existe plus.    (Paul Eluard)






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

* Re: emacs 22 rpm's
  2009-03-04 17:33   ` Brendan Miller
  2009-03-04 20:54     ` Peter Dyballa
@ 2009-03-05  5:54     ` Nick Roberts
  1 sibling, 0 replies; 5+ messages in thread
From: Nick Roberts @ 2009-03-05  5:54 UTC (permalink / raw)
  To: Brendan Miller; +Cc: help-gnu-emacs

 > >  With TRAMP, it is possible to
 > >  debug programs on remote hosts.  You can call `gdb' with a remote file
 > >  name:
 > >
 > >       M-x gdb <RET>
 > >       Run gdb (like this): gdb --annotate=3 /ssh:host:~/myprog <RET>
 > 
 > Hmm, I hadn't heard of tramp. I'll give that a shot. So is tramp an
 > extension to gdb?

No.  It's described in the Tramp manual which I believe was included in the
Emacs 22 distribution.

 > It doesn't use gdb's built in remote debugging does it? I can't use
 > that since it requires exactly the same libraries on host and remote,
 > which is more or less impossible in my situation.

No, it just assumes Emacs on the host machine, Gdb and your executable on the
remote machine, and an ssh connection between the two.  Gdb is running on the
same machine as the executable.

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




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

end of thread, other threads:[~2009-03-05  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 21:26 emacs 22 rpm's Brendan Miller
2009-03-04 10:03 ` Nick Roberts
2009-03-04 17:33   ` Brendan Miller
2009-03-04 20:54     ` Peter Dyballa
2009-03-05  5:54     ` Nick Roberts

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.