Lines Matching full:macro
420 One of the preliminary versions of GNU `m4' (a generic macro
422 quote strings from the default, the commands used to capture one macro
424 session, we define a macro `foo' which expands to `0000'; we then use
523 #2 0x8174 in expand_macro (sym=0x33320) at macro.c:242
525 at macro.c:71
526 #4 0x79dc in expand_input () at macro.c:40
1483 and later of GCC, the GNU C compiler, provides macro information if you
1487 to represent macro information, so that it can be included with `-g'
3824 #1 0x6e38 in expand_macro (sym=0x2b600) at macro.c:242
3826 at macro.c:71
3843 #1 0x6e38 in expand_macro (sym=<value optimized out>) at macro.c:242
3845 at macro.c:71
6150 evaluate expressions containing macro invocations, show the result of
6151 macro expansion, and show a macro's definition, including where it was
6159 A program may define a macro at one point, remove that definition
6161 different points in the program, a macro may have different
6170 Whenever GDB evaluates an expression, it always expands any macro
6174 `macro expand EXPRESSION'
6175 `macro exp EXPRESSION'
6176 Show the results of expanding all preprocessor macro invocations in
6181 `macro expand-once EXPRESSION'
6182 `macro exp1 EXPRESSION'
6184 expanding those preprocessor macro invocations that appear
6185 explicitly in EXPRESSION. Macro invocations appearing in that
6187 effect of a particular macro more clearly, without being confused
6192 `info macro MACRO'
6193 Show the definition of the macro named MACRO, and describe the
6196 `macro define MACRO REPLACEMENT-LIST'
6197 `macro define MACRO(ARGLIST) REPLACEMENT-LIST'
6199 a preprocessor macro named MACRO, invocations of which are replaced
6201 command defines an "object-like" macro, which takes no arguments;
6202 the second form defines a "function-like" macro, which takes the
6206 expression evaluated in GDB, until it is removed with the `macro
6208 definitions for MACRO present in the program being debugged, as
6211 `macro undef MACRO'
6213 definition for the macro named MACRO. This command only affects
6214 definitions provided with the `macro define' command, described
6218 `macro list'
6220 defined using the `macro define' command.
6262 decide which macro definitions are in scope:
6275 (gdb) info macro ADD
6278 (gdb) info macro Q
6282 (gdb) macro expand ADD(1)
6284 (gdb) macro expand-once ADD(1)
6288 In the example above, note that `macro expand-once' expands only the
6289 macro invocation explicit in the original text -- the invocation of
6290 `ADD' -- but does not expand the invocation of the macro `M', which was
6293 Once the program is running, GDB uses the macro definitions in force
6305 At line 10, the definition of the macro `N' at line 9 is in force:
6307 (gdb) info macro N
6310 (gdb) macro expand N Q M
6323 (gdb) info macro N
6324 The symbol `N' has no definition as a C/C++ preprocessor macro
6329 (gdb) info macro N
6332 (gdb) macro expand N Q M
19401 a string that is inserted when the key is pressed (a MACRO).
19403 KEYNAME: FUNCTION-NAME or MACRO
19412 `backward-kill-word', and `C-o' is bound to run the macro
19420 "KEYSEQ": FUNCTION-NAME or MACRO
19494 When entering the text of a macro, single or double quotes must be
19495 used to indicate a macro definition. Unquoted text is assumed to
19496 be a function name. In the macro body, the backslash escapes
19498 character in the macro text, including `"' and `''. For example,
20007 `start-kbd-macro (C-x ()'
20008 Begin saving the characters typed into the current keyboard macro.
20010 `end-kbd-macro (C-x ))'
20011 Stop saving the characters typed into the current keyboard macro
20014 `call-last-kbd-macro (C-x e)'
20015 Re-execute the last keyboard macro defined, by making the
20016 characters in the macro appear as if typed at the keyboard.
20380 TeX also requires a macro definitions file called `texinfo.tex'.
25444 * call-last-kbd-macro (C-x e): Keyboard Macros. (line 13)
25596 * definition, showing a macro's: Macros. (line 50)
25720 * end-kbd-macro (C-x )): Keyboard Macros. (line 9)
25751 * expand macro once: Macros. (line 41)
25981 * info macro: Macros. (line 50)
26138 * macro define: Macros. (line 54)
26139 * macro definition, showing: Macros. (line 50)
26140 * macro exp1: Macros. (line 39)
26141 * macro expand: Macros. (line 32)
26142 * macro expansion, showing the results of preprocessor: Macros.
26144 * macro list: Macros. (line 76)
26145 * macro undef: Macros. (line 69)
26421 * preprocessor macro expansion, showing the results of: Macros.
26996 * start-kbd-macro (C-x (): Keyboard Macros. (line 6)