I tried to use GDB to debug Emacs.
More specifically, I want to observe the behavior of a function written in C.
vertical-motionis a built-in function in ‘C source code’.
However, the name of a C function cannot contain a - (i.e., minus sign).
So GDB will complain when I type break vertical-motion.
I noticed that this function is defined by DEFUN (C macro?), which is weird to me:
DEFUN ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 3, 0,
doc: /* ... */)
(Lisp_Object lines, Lisp_Object window, Lisp_Object cur_col)
{ ... }
What is a built-in function's C name?
(including those NOT defined by DEFUN if they exist)