[Bug python/12216] gdb.execute() with a non-repeatable command makes the executed command unrepeatable

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Jan 31 16:52:00 GMT 2011


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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-01-31 16:52:40 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2011-01-31 16:52:35

Modified files:
    gdb            : ChangeLog command.h top.c 
    gdb/python     : python.c 

Log message:
    PR python/12216:
    * python/python.c (execute_gdb_command): Call
    prevent_dont_repeat.
    * top.c (suppress_dont_repeat): New global.
    (dont_repeat): Use it.
    (prevent_dont_repeat): New function.
    * command.h (prevent_dont_repeat): Declare.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12524&r2=1.12525
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.72&r2=1.73
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/top.c.diff?cvsroot=src&r1=1.192&r2=1.193
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.57&r2=1.58

-- 
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.



More information about the Gdb-prs mailing list