This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/8444] No reason givent when stopped on shared library event


http://sourceware.org/bugzilla/show_bug.cgi?id=8444

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-11-22 21:25:23 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2011-11-22 21:25:19

Modified files:
    gdb            : ChangeLog breakpoint.c breakpoint.h infrun.c 
    gdb/doc        : ChangeLog gdb.texinfo 
    gdb/mi         : mi-common.c mi-common.h mi-interp.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/lib: mi-support.exp 
Added files:
    gdb/testsuite/gdb.mi: mi-solib.exp solib-lib.c solib-main.c 

Log message:
    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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13543&r2=1.13544
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.623&r2=1.624
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.h.diff?cvsroot=src&r1=1.165&r2=1.166
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.514&r2=1.515
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1250&r2=1.1251
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.900&r2=1.901
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-common.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-common.h.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-interp.c.diff?cvsroot=src&r1=1.68&r2=1.69
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2943&r2=1.2944
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-solib.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/solib-lib.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/solib-main.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/mi-support.exp.diff?cvsroot=src&r1=1.102&r2=1.103

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]