Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
19a67883
Commit
19a67883
authored
Jun 21, 2009
by
duane
Browse files
C99 printf() -Werror fixes
git-svn-id:
svn://svn.berlios.de/openocd/trunk@2323
b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent
5c82587a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/target/mips_ejtag.c
View file @
19a67883
...
...
@@ -211,7 +211,7 @@ int mips_ejtag_enter_debug(mips_ejtag_t *ejtag_info)
/* break bit will be cleared by hardware */
ejtag_ctrl
=
ejtag_info
->
ejtag_ctrl
;
mips_ejtag_drscan_32
(
ejtag_info
,
&
ejtag_ctrl
);
LOG_DEBUG
(
"ejtag_ctrl: 0x%8.8
x
"
,
ejtag_ctrl
);
LOG_DEBUG
(
"ejtag_ctrl: 0x%8.8
"
PRIx32
"
"
,
ejtag_ctrl
);
if
((
ejtag_ctrl
&
EJTAG_CTRL_BRKST
)
==
0
)
LOG_DEBUG
(
"Failed to enter Debug Mode!"
);
...
...
@@ -261,7 +261,7 @@ int mips_ejtag_init(mips_ejtag_t *ejtag_info)
uint32_t
ejtag_version
;
mips_ejtag_get_impcode
(
ejtag_info
,
&
ejtag_info
->
impcode
);
LOG_DEBUG
(
"impcode: 0x%8.8
x
"
,
ejtag_info
->
impcode
);
LOG_DEBUG
(
"impcode: 0x%8.8
"
PRIx32
"
"
,
ejtag_info
->
impcode
);
/* get ejtag version */
ejtag_version
=
((
ejtag_info
->
impcode
>>
29
)
&
0x07
);
...
...
Write
Preview
Supports
Markdown
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