mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-05 00:36:22 +00:00
Changed the DOC parameter type to gdb_define_app_command.
Fixed typo.
This commit is contained in:
parent
8cfa495040
commit
59168c8b05
@ -1,5 +1,9 @@
|
|||||||
Mon Oct 25 03:25:41 1993 Tom Lord (lord@cygnus.com)
|
Mon Oct 25 03:25:41 1993 Tom Lord (lord@cygnus.com)
|
||||||
|
|
||||||
|
* libgdb.texinfo (Defining Commands): made the DOC arg
|
||||||
|
to gdb_define_app_command a char * instead of char **
|
||||||
|
per a suggestion from kingdon.
|
||||||
|
|
||||||
* libgdb.texinfo: total rewrite from a different starting
|
* libgdb.texinfo: total rewrite from a different starting
|
||||||
premise.
|
premise.
|
||||||
|
|
||||||
|
@ -554,7 +554,7 @@ language.
|
|||||||
@example
|
@example
|
||||||
char * @var{name};
|
char * @var{name};
|
||||||
gdb_cmd_fn @var{fn};
|
gdb_cmd_fn @var{fn};
|
||||||
char ** @var{doc};
|
char * @var{doc};
|
||||||
|
|
||||||
typedef void (*gdb_cmd_fn) (char * args);
|
typedef void (*gdb_cmd_fn) (char * args);
|
||||||
@end example
|
@end example
|
||||||
@ -567,8 +567,8 @@ Calling this function twice with the same name replaces an earlier
|
|||||||
definition, but application commands can not replace builtin commands of
|
definition, but application commands can not replace builtin commands of
|
||||||
the same name.
|
the same name.
|
||||||
|
|
||||||
The documentation string of the command is set to a copy of the NULL
|
The documentation string of the command is set to a copy the string
|
||||||
terminated array of strings @var{doc}.
|
@var{doc}.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
@node Variables, Asynchronous, Defining Commands, Top
|
@node Variables, Asynchronous, Defining Commands, Top
|
||||||
@ -690,7 +690,7 @@ The GDB command language contains many @code{set} and @code{show}
|
|||||||
commands. These commands are used to modify or examine parameters to
|
commands. These commands are used to modify or examine parameters to
|
||||||
the debugger.
|
the debugger.
|
||||||
|
|
||||||
One difficulty to get the current state 3f a parameter from the
|
It is difficult to get the current state of a parameter from the
|
||||||
@code{show} command because @code{show} is very verbose.
|
@code{show} command because @code{show} is very verbose.
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@ -857,15 +857,15 @@ in an earlier example of this section.
|
|||||||
(type "struct bytecode_vector")
|
(type "struct bytecode_vector")
|
||||||
(address 14336) )
|
(address 14336) )
|
||||||
(exp-concat
|
(exp-concat
|
||||||
"$17 = @{"
|
"$16 = @{"
|
||||||
(exp-attribute
|
(exp-attribute
|
||||||
( (expression "$17.v")
|
( (expression "$16.v")
|
||||||
(type "char *")
|
(type "char *")
|
||||||
(address 14336)
|
(address 14336)
|
||||||
(deref-expression "*$17.v") )
|
(deref-expression "*$16.v") )
|
||||||
"v = 0x38ae0")
|
"v = 0x38ae0")
|
||||||
(exp-attribute
|
(exp-attribute
|
||||||
( (expression "$17.v_length")
|
( (expression "$16.v_length")
|
||||||
(type "int")
|
(type "int")
|
||||||
(address 14340) )
|
(address 14340) )
|
||||||
", v_length = 40")
|
", v_length = 40")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user