public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Recommend C source browser/editor?
@ 2021-08-06 20:25 Grant Edwards
  2021-08-07  7:20 ` n952162
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Grant Edwards @ 2021-08-06 20:25 UTC (permalink / raw
  To: gentoo-user

Would anybody care to recommend a tool for browsing around (and
editing) a tree of somebody-else's C code?

I prefer emacs for day-to-day editing of my code (when I know what's
where), but I'm looking for something to browse around a tree of
unfamiliar source code and make minor changes. I briefly tried
emacs+cscope at a few points in the past, but it just never worked
very well.

It would be nice to have something that I can just point at a tree of
source files and not to have to spend a lot of time setting up a
"project" or "workspace" or whatever...

Mostly I'd like to be able to:

 * Click on a function and list places from which it is called().

 * Click on a function call and goto it's definition.

I don't care at all about debugging. This is embedded, real-time code
for which a debugger is pretty useless.

It would be nice to be able configure a function key to run an
arbitrary shell command that will run a "make" to build a binary,
download the binary to the target hardware, and start it.

If it can parse gcc error messages from a "make" command, that would
be nice, but not required.

I run mostly a GTK based system (but usually have quite a few QT
libraries installed to support things like Wireshark).

Any suggestions?



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

end of thread, other threads:[~2021-08-07  8:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-06 20:25 [gentoo-user] Recommend C source browser/editor? Grant Edwards
2021-08-07  7:20 ` n952162
2021-08-07  7:43 ` [gentoo-user] " Nikos Chantziaras
2021-08-07  8:58 ` [gentoo-user] " Matthew Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox