a minor dbgcnt bug fix

Xinliang David Li davidxl@google.com
Mon Jul 20 18:05:00 GMT 2009


Hi, the attached patch fixes a bug in dbgcnt limit setting by name.
The length is not checked which will result in false matching. For
instance -fdbg-cnt=dce:10 will find counter dce_ud.

Testing: bootstrap and tested on i686/linux.

Ok to commit?

Thanks,

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbg.p
Type: text/x-pascal
Size: 449 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090720/1713ff23/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbg.chg
Type: application/octet-stream
Size: 112 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090720/1713ff23/attachment.obj>


More information about the Gcc-patches mailing list