Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d0763469
Commit
d0763469
authored
Jul 20, 2009
by
Xinliang David Li
Committed by
Xinliang David Li
Jul 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbgcnt name matching bug fix
From-SVN: r149830
parent
752fd2a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/dbgcnt.c
+2
-1
No files found.
gcc/ChangeLog
View file @
d0763469
2009-07-20 Xinliang David Li <davidxl@google.com>
* dbgcnt.c (dbg_cnt_set_limit_by_name): Add length check.
2009-07-20 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.md (move_type): Add arith.
...
...
gcc/dbgcnt.c
View file @
d0763469
...
...
@@ -82,7 +82,8 @@ dbg_cnt_set_limit_by_name (const char *name, int len, int value)
{
int
i
;
for
(
i
=
debug_counter_number_of_counters
-
1
;
i
>=
0
;
i
--
)
if
(
!
strncmp
(
map
[
i
].
name
,
name
,
len
))
if
(
strncmp
(
map
[
i
].
name
,
name
,
len
)
==
0
&&
map
[
i
].
name
[
len
]
==
'\0'
)
break
;
if
(
i
<
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment