Article View: gnu.emacs.help
Article #188764GDB mode one `step' behind on 386 Unix/Emacs
From: Patrick R. Brown
Date: Tue, 02 Jul 1991 19:31
Date: Tue, 02 Jul 1991 19:31
29 lines
1904 bytes
1904 bytes
I am having a problem using the Emacs `gdb' mode under ESIX System V
3.2. In particular, after hitting a breakpoint, the use of the step
command always leaves the source code buffer one statement behind the
GDB buffer. Performing a step, gdb-refresh (^L) for each keeps the
buffers in sync, but it's very inconvenient to do. I've tried hacking
at the gdb-mode Elisp, but I've had no success. The only (somewhat
convenient) thing that seems to work is adding a `frame' command to
the `step' command in the lisp code, so that each execution of a step
is followed by one of `frame'.
Configuration:
Hardware - 386 Clone
Software - ESIX System V 3.2D, X386 1.1b, Emacs 18.57, GCC 1.40,
GDB 3.5, standard `gdb.el' and `gdbsrc.el'
If anyone can be of assistance (has already met this problem and fixed
it, or otherwise), please let me know what I can do. BTW, this
problem doesn't arise using my Emacs 18.55/Ultrix 4.1/DEC CC combo on
this machine.
Thanks in advance,
Pat
--
Patrick R. Brown __ _________
email: pbrown@csgrad.cs.vt.edu \ \ / ___ __/ Virginia Tech:
smail: 375 New Kent Rd. \ \/ / / / "Po but Proud"
Blacksburg, VA 24060 \__/ /_/ (703) 552-4016
Technical Details
Message-ID:
<PBROWN.91Jul2203115@vtopus.cs.vt.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uunet!vtserf!creatures!creatures.cs.vt.edu!pbrownShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,1e9195e0e4fb8a1a,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-07-02 23:44:04 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uunet!vtserf!creatures!creatures.cs.vt.edu!pbrown From: pbrown@vtopus.cs.vt.edu (Patrick R. Brown) Newsgroups: gnu.emacs.help Subject: GDB mode one `step' behind on 386 Unix/Emacs Message-ID: <PBROWN.91Jul2203115@vtopus.cs.vt.edu> Date: 2 Jul 91 19:31:01 GMT Sender: usenet@creatures.cs.vt.edu Distribution: gnu.emacs.help Organization: Virginia Tech, Department of Computer Science Lines: 29