unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* source code marking
@ 2004-01-17 13:00 Werner LEMBERG
  2004-01-17 13:29 ` Jan D.
  0 siblings, 1 reply; 3+ messages in thread
From: Werner LEMBERG @ 2004-01-17 13:00 UTC (permalink / raw)



An off-topic question:

Does a tool exist (probably as an add-on to gdb or valgrind) which
marks executed source code lines in the source code itself?  Something
like

  void
  foo(...)
  {
    ...

  }

which becomes e.g.

* void
* foo(...)
* {
*   ...
*
* }

in case the function has been executed during a call to a program.


    Werner

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

* Re: source code marking
  2004-01-17 13:00 source code marking Werner LEMBERG
@ 2004-01-17 13:29 ` Jan D.
  2004-01-17 13:35   ` Werner LEMBERG
  0 siblings, 1 reply; 3+ messages in thread
From: Jan D. @ 2004-01-17 13:29 UTC (permalink / raw)
  Cc: emacs-devel

>
> An off-topic question:
>
> Does a tool exist (probably as an add-on to gdb or valgrind) which
> marks executed source code lines in the source code itself?

Have you looked at gcov that comes with gcc?  See the Gcov node
in the GCC info manual.

	Jan D.

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

* Re: source code marking
  2004-01-17 13:29 ` Jan D.
@ 2004-01-17 13:35   ` Werner LEMBERG
  0 siblings, 0 replies; 3+ messages in thread
From: Werner LEMBERG @ 2004-01-17 13:35 UTC (permalink / raw)
  Cc: emacs-devel


> Have you looked at gcov that comes with gcc?  See the Gcov node
> in the GCC info manual.

Thanks!  This looks like I want.



    Werner

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

end of thread, other threads:[~2004-01-17 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-17 13:00 source code marking Werner LEMBERG
2004-01-17 13:29 ` Jan D.
2004-01-17 13:35   ` Werner LEMBERG

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).