unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15449: gdb assembler no '=>' arrow in source
@ 2013-09-23 11:03 Markus Rother
  2020-12-06 15:29 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Rother @ 2013-09-23 11:03 UTC (permalink / raw)
  To: 15449

Hi,

(using emacs 24.2.1)

When debugging an assembler program using gdb within emacs, there is no
arrow pointing to the current line in my source file.  Everything else
works properly (stepping, etc.):

* (gdb) disas
* M-x gdb-disassembly-buffer
* (gdb) si
* etc.


The file was compiled with:

=nasm -g -f elf32 foo.s - o foo.o=
=ld foo.o -o foo=

(using nasm 2.10.05)


gdb was invoked with

M-x gdb -i=mi foo

(using gdb 7.5.1)

The debugging session starts successfully, with "Reading symbols ... done.".


When activating one of the gdb buffers, the menu bar changes (to
gud-gdb, I assume), but not so when activating the source buffer.


On stackoverflow.com it was suggested to use an older version of nasm
(why?) as the same problem was encountered.

http://stackoverflow.com/questions/10269537/setting-breakpoints-in-gdb-many-window-no-visual-cursor

(did not try).


Any help is appreciated.
Markus





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

* bug#15449: gdb assembler no '=>' arrow in source
  2013-09-23 11:03 bug#15449: gdb assembler no '=>' arrow in source Markus Rother
@ 2020-12-06 15:29 ` Lars Ingebrigtsen
  2021-01-20  4:30   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-06 15:29 UTC (permalink / raw)
  To: Markus Rother; +Cc: 15449

Markus Rother <informatik@markusrother.de> writes:

> When debugging an assembler program using gdb within emacs, there is no
> arrow pointing to the current line in my source file.  Everything else
> works properly (stepping, etc.):
>
> * (gdb) disas
> * M-x gdb-disassembly-buffer
> * (gdb) si
> * etc.
>
> The file was compiled with:
>
> =nasm -g -f elf32 foo.s - o foo.o=
> =ld foo.o -o foo=
>
> (using nasm 2.10.05)
>
> gdb was invoked with
>
> M-x gdb -i=mi foo

(This bug report unfortunately got no response at the time.)

Are you still seeing this issue with more recent versions of Emacs (and
nasm)?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#15449: gdb assembler no '=>' arrow in source
  2020-12-06 15:29 ` Lars Ingebrigtsen
@ 2021-01-20  4:30   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-20  4:30 UTC (permalink / raw)
  To: Markus Rother; +Cc: 15449

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Are you still seeing this issue with more recent versions of Emacs (and
> nasm)?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-01-20  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-23 11:03 bug#15449: gdb assembler no '=>' arrow in source Markus Rother
2020-12-06 15:29 ` Lars Ingebrigtsen
2021-01-20  4:30   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).