Bug 72609 - gdb mode won't display current line marker
Summary: gdb mode won't display current line marker
Keywords:
Status: CLOSED DUPLICATE of bug 56890
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: emacs
Version: null
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-26 04:19 UTC by Alexandre Oliva
Modified: 2015-01-07 23:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-26 04:19:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexandre Oliva 2002-08-26 04:19:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Description of problem:
The GDB (gud) mode in earlier releases of GNU Emacs (say 20.7) would display a
`=>' overlay in the beginning of the line being executed in a C program.  The
current version does not.

At first, I thought it was being smart and taking advantage of the fact that, on
X, it might as well just position the cursor on the active line, and let the
cursor work as the marker.

However, even emacs -nw fails to display the `=>' marker.  Or, more accurately,
it *does* display it, but it's quickly overwritten by something else.  This
makes it almost impossible to run a remote debugging session, since X isn't
really usable over low latencies.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Create a program, say foo.c:
  main () {
  }
2.Compile it with debugging info:
  % gcc -g -o foo foo.c
3.Start emacs in text mode:
  % emacs -nw
4.Start the debugger:
  M-x gdb ENTER foo ENTER
5.Set a breakpoint and start the program
  (gdb) b main
  (gdb) run
6.Try to figure out which is the active line.


Actual Results:  You can't figure it out unless you look at the line number in
the context bar, and translate that info into one of the lines being displayed
(can be tricky in a large file)

Expected Results:  The `=>' overlay should not be overwritten.

Additional info:

Comment 1 Trond Eivind Glomsrxd 2002-08-26 22:15:55 UTC

*** This bug has been marked as a duplicate of 56890 ***


Note You need to log in before you can comment on or make changes to this bug.