Emacs' GDB integration has the Locals Buffer showing pretty much the result of (gdb) info locals
. Is there way to also display the result of (gdb) info args
of the current frame (without having to type it manually every time another frame is selected)?
Asked
Active
Viewed 188 times
2

Johannes Gerer
- 25,508
- 5
- 29
- 35
-
aren't `args` included in `locals`? – sds Jul 06 '14 at 18:20
-
no (at least not in GDB 7.7.1 or Emacs 24.3.1) – Johannes Gerer Jul 06 '14 at 18:26
-
It looks like args are shown in the threads buffer. Look for a line like **process 4511 stopped in funcname (argname=value) of foo.c:40**. That line will automatically change as you move up and down the stack. – Mark Plotnick Jul 09 '14 at 01:18