gdb
authorTom Tromey <tromey@redhat.com>
Tue, 22 Nov 2011 21:25:19 +0000 (21:25 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 22 Nov 2011 21:25:19 +0000 (21:25 +0000)
commit36dfb11c8b13be20baf34ea4ba772255c605e0ed
tree3ceaaac3e36cd7c63643651e043b533227305d3d
parent5bd6aa835706da4799d994bfee65f205ce2d5304
gdb
PR mi/8444:
* mi/mi-common.h (EXEC_ASYNC_SOLIB_EVENT, EXEC_ASYNC_FORK)
(EXEC_ASYNC_VFORK, EXEC_ASYNC_SYSCALL_ENTRY)
(EXEC_ASYNC_SYSCALL_RETURN, EXEC_ASYNC_EXEC): New constants.
* mi/mi-common.c (async_reason_string_lookup): Add new reasons.
* breakpoint.c (print_it_catch_fork, print_it_catch_vfork)
(print_it_catch_syscall, print_it_catch_exec)
(internal_bkpt_print_it): Use ui_out.  Emit stop reason.
(bpstat_print): Add 'kind' argument.  Handle
TARGET_WAITKIND_LOADED.
* infrun.c (normal_stop): Update for bpstat_print change.  Don't
handle TARGET_WAITKIND_LOADED here.
* breakpoint.h (bpstat_print): Update.
gdb/testsuite
* lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
Add "use_mi_command" argument.
(mi_run_cmd, mi_run_with_cli): New procs.
* gdb.mi/solib-lib.c: New file.
* gdb.mi/solib-main.c: New file.
* gdb.mi/mi-solib.exp: New file.
gdb/doc
* gdb.texinfo (GDB/MI Async Records): Document new *stopped
reasons.
14 files changed:
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/infrun.c
gdb/mi/mi-common.c
gdb/mi/mi-common.h
gdb/mi/mi-interp.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-solib.exp [new file with mode: 0644]
gdb/testsuite/gdb.mi/solib-lib.c [new file with mode: 0644]
gdb/testsuite/gdb.mi/solib-main.c [new file with mode: 0644]
gdb/testsuite/lib/mi-support.exp