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 cli/13689] watch (cast) 0xf00bar is not caught as "Cannot watchconstant value"


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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-02-22 18:20:43 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    sterling@sourceware.org    2012-02-22 18:20:38

Modified files:
    gdb            : ChangeLog breakpoint.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.base: watchpoint.exp 

Log message:
    ChangeLog
    2012-02-22  Sterling Augustine  <saugustine@google.com>

    PR 13689:
    * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.

    testsuite/ChangeLog
    2012-02-22  Sterling Augustine  <saugustine@google.com>

    * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
    constant with cast.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13856&r2=1.13857
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.653&r2=1.654
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3088&r2=1.3089
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/watchpoint.exp.diff?cvsroot=src&r1=1.55&r2=1.56

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