diff options
author | Roland Pesch <pesch@cygnus> | 1991-11-06 00:36:08 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1991-11-06 00:36:08 +0000 |
commit | 4906534f1f4f6c1a3444f370cfd9ecdf986e66a0 (patch) | |
tree | 933dafed3abbc8ca9b22031daf647d3fd5a991ba /gdb/doc | |
parent | df22f4690506edda733edbfdcfe96305062bbde6 (diff) | |
download | gdb-4906534f1f4f6c1a3444f370cfd9ecdf986e66a0.zip gdb-4906534f1f4f6c1a3444f370cfd9ecdf986e66a0.tar.gz gdb-4906534f1f4f6c1a3444f370cfd9ecdf986e66a0.tar.bz2 |
Record (as comments) three FIXMEs.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/gdb.texinfo | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 264aaeb..85f921d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -1270,6 +1270,7 @@ command (@pxref{Files}). @refill @end table +@c FIXME explain or avoid "target" here? On targets that support processes, @code{run} creates an inferior process and makes that process run your program. On other targets, @code{run} jumps to the start of the program. @@ -1651,6 +1652,11 @@ no effect on the program until you enable it again. @node Set Breaks, Set Watchpoints, Breakpoints, Breakpoints @subsection Setting Breakpoints +@c FIXME LMB what does GDB do if no code on line of breakpt? +@c consider in particular declaration with/without initialization. +@c +@c FIXME 2 is there stuff on this already? break at fun start, already init? + @kindex break @kindex b Breakpoints are set with the @code{break} command (abbreviated @code{b}). @@ -1724,6 +1730,7 @@ is hit. @xref{Disabling}. @item rbreak @var{regex} @kindex rbreak @cindex regular expression +@c FIXME what kind of regexp? Set breakpoints on all functions matching the regular expression @var{regex}. This command sets an unconditional breakpoint on all matches, printing a list of all @@ -1963,6 +1970,8 @@ will not change the state of your other breakpoints; @cindex conditional breakpoints @cindex breakpoint conditions +@c FIXME what is scope of break condition expr? Context where wanted? +@c in particular for a watchpoint? The simplest sort of breakpoint breaks every time the program reaches a specified place. You can also specify a @dfn{condition} for a breakpoint. A condition is just a Boolean expression in your @@ -2008,7 +2017,10 @@ watchpoint number @var{bnum}. From now on, this breakpoint will stop the program only if the value of @var{expression} is true (nonzero, in C). When you use @code{condition}, _GDBN__ checks @var{expression} immediately for syntactic correctness, and to determine whether symbols -in it have referents in the context of your breakpoint. _GDBN__ does +in it have referents in the context of your breakpoint. +@c FIXME so what does GDB do if there's no referent? Moreover, what +@c about watchpoints? +_GDBN__ does not actually evaluate @var{expression} at the time the @code{condition} command is given, however. @xref{Expressions}. |