Explicit locations: MI support for explicit locations
authorKeith Seitz <keiths@redhat.com>
Wed, 12 Aug 2015 00:09:36 +0000 (17:09 -0700)
committerKeith Seitz <keiths@redhat.com>
Wed, 12 Aug 2015 00:09:36 +0000 (17:09 -0700)
commiteb8c4e2e66329dc7bf2024d55991efe8587075c0
treec22ee99930bed86360da1dd551f17d6c2ba89f36
parent87f0e7204722a986f79f245eee716f0870832d47
Explicit locations: MI support for explicit locations

This patch adds support for explicit locations to MI's -break-insert
command. The new options, documented in the User Manual, are
--source, --line, --function, and --label.

gdb/ChangeLog:

* mi/mi-cmd-break.c (mi_cmd_break_insert_1): Add support for
explicit locations, options "--source", "--function",
"--label", and "--line".

gdb/testsuite/ChangeLog:

* gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
(at toplevel): Call test_explicit_breakpoints.
* gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
breakpoints.
* lib/mi-support.exp (mi_make_breakpoint): Add support for
breakpoint conditions, "-cond".
gdb/ChangeLog
gdb/mi/mi-cmd-break.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-break.exp
gdb/testsuite/gdb.mi/mi-dprintf.exp
gdb/testsuite/lib/mi-support.exp
This page took 0.026299 seconds and 4 git commands to generate.