diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-16 17:27:53 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-16 17:27:53 +0000 |
commit | 8ac3646fbbb5f1e0442caa55559513d593136f8c (patch) | |
tree | 7586394b88b34a9a36959aef9cdaf3b75914ebdd /gdb/doc | |
parent | 5a18e3023970ba2542ebdcbab920acbeabd672ce (diff) | |
download | gdb-8ac3646fbbb5f1e0442caa55559513d593136f8c.zip gdb-8ac3646fbbb5f1e0442caa55559513d593136f8c.tar.gz gdb-8ac3646fbbb5f1e0442caa55559513d593136f8c.tar.bz2 |
* breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
(print_one_catch_solib, print_one_catch_syscall)
(print_one_catch_exec, print_one_exception_catchpoint): Emit
"catch-type".
gdb/doc
* gdb.texinfo (GDB/MI Breakpoint Information): Document
"catch-type" field.
(GDB/MI Catchpoint Commands): Add "catch-type" to examples.
gdb/testsuite
* gdb.mi/mi-catch-load.exp: Look for "catch-type".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0eb574d..906e56f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2013-01-16 Tom Tromey <tromey@redhat.com> + + * gdb.texinfo (GDB/MI Breakpoint Information): Document + "catch-type" field. + (GDB/MI Catchpoint Commands): Add "catch-type" to examples. + 2013-01-07 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Mode Options): Don't mention -epoch. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index f973263..89dc010 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27957,6 +27957,10 @@ of a multi-location breakpoint, this will be a dotted pair, like The type of the breakpoint. For ordinary breakpoints this will be @samp{breakpoint}, but many values are possible. +@item catch-type +If the type of the breakpoint is @samp{catchpoint}, then this +indicates the exact type of catchpoint. + @item disp This is the breakpoint disposition---either @samp{del}, meaning that the breakpoint will be deleted at the next stop, or @samp{keep}, @@ -28867,7 +28871,7 @@ The corresponding @value{GDBN} command is @samp{catch load}. @smallexample -catch-load -t foo.so ^done,bkpt=@{number="1",type="catchpoint",disp="del",enabled="y", -what="load of library matching foo.so",times="0"@} +what="load of library matching foo.so",catch-type="load",times="0"@} (gdb) @end smallexample @@ -28896,7 +28900,7 @@ The corresponding @value{GDBN} command is @samp{catch unload}. @smallexample -catch-unload -d bar.so ^done,bkpt=@{number="2",type="catchpoint",disp="keep",enabled="n", -what="load of library matching bar.so",times="0"@} +what="load of library matching bar.so",catch-type="unload",times="0"@} (gdb) @end smallexample |