Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

emacs and gdb

21 views
Skip to first unread message

Jeff Franco,,,

unread,
May 28, 1996, 3:00:00 AM5/28/96
to

I am new to the world of emacs, I am however familiar with the gdb
debugger. I am trying to get gdb to run under emacs using the gdb
function. When I run it, I get the following...


(gdb) b JMValidator.m:789
Reading in symbols for JMValidator.m...done.
Breakpoint 1 at 0x49ed8: JMValidator.m:789.
(gdb) r
Starting program:
/jfranco/Projects/PDSS/Online/PDSSUser/PDSSUser.debug/PDSSUser
Type emacs unknown
TERM = (unknown)


What is going on here?


--

Thanks,

Jeff Franco

(703) 824-4301
Price Waterhouse LLP
jfr...@plato.sky.bdm.com (NeXTMail, MIME)


Peter Weiss

unread,
May 29, 1996, 3:00:00 AM5/29/96
to

>>>>> "Jeff" == Jeff Franco,,, <jfr...@montgomery.plato.sky.bdm.com> writes:
In article <4oerju$g...@bdmserver.mcl.bdm.com> jfr...@montgomery.plato.sky.bdm.com (Jeff Franco,,,) writes:


Jeff> I am new to the world of emacs, I am however familiar with the gdb
Jeff> debugger. I am trying to get gdb to run under emacs using the gdb
Jeff> function. When I run it, I get the following...


Jeff> (gdb) b JMValidator.m:789
Jeff> Reading in symbols for JMValidator.m...done.
Jeff> Breakpoint 1 at 0x49ed8: JMValidator.m:789.
Jeff> (gdb) r
Jeff> Starting program:
Jeff> /jfranco/Projects/PDSS/Online/PDSSUser/PDSSUser.debug/PDSSUser
Jeff> Type emacs unknown
Jeff> TERM = (unknown)


Jeff> What is going on here?

It looks like the modula programm isn't able to recognize the TERM
variable is set to EMACS. What does 'show env TERM' say?

show env TERM="xterm"

sets the value, but you cannot use the curses package anymore. But as far
as I know there is a package that makes screen based programms able to
run inside emacs (probably something like terminal.el?)


Hth -- Peter
--
------------------------------------------------------------------------------
Peter Weiss, Sonnenstraße 17, D-26123 Oldenburg, Tel: 0441/ 81058
http://www.informatik.uni-oldenburg.de:/~weissp
------------------------------------------------------------------------------
-- Slow has got 4 letters so has calm; speed has got 5 letters so has death --
------------------------------------------------------------------------------

0 new messages