Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
28
Issues
28
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
80e3e6b9
Commit
80e3e6b9
authored
Feb 20, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/dump-info: add dump_type_uint8_t
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
58c1938c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
dump-info.h
include/dump-info.h
+1
-0
wrpc-dump.c
tools/wrpc-dump.c
+1
-0
No files found.
include/dump-info.h
View file @
80e3e6b9
...
@@ -15,6 +15,7 @@ enum dump_type {
...
@@ -15,6 +15,7 @@ enum dump_type {
dump_type_char
,
/* for zero-terminated strings */
dump_type_char
,
/* for zero-terminated strings */
dump_type_bina
,
/* for binary stull in MAC format */
dump_type_bina
,
/* for binary stull in MAC format */
/* normal types follow */
/* normal types follow */
dump_type_uint8_t
,
dump_type_uint32_t
,
dump_type_uint32_t
,
dump_type_uint16_t
,
dump_type_uint16_t
,
dump_type_int
,
dump_type_int
,
...
...
tools/wrpc-dump.c
View file @
80e3e6b9
...
@@ -112,6 +112,7 @@ void dump_one_field(void *addr, struct dump_info *info)
...
@@ -112,6 +112,7 @@ void dump_one_field(void *addr, struct dump_info *info)
case
dump_type_Integer8
:
case
dump_type_Integer8
:
case
dump_type_Enumeration8
:
case
dump_type_Enumeration8
:
case
dump_type_Boolean
:
case
dump_type_Boolean
:
case
dump_type_uint8_t
:
printf
(
"%i
\n
"
,
*
(
unsigned
char
*
)
p
);
printf
(
"%i
\n
"
,
*
(
unsigned
char
*
)
p
);
break
;
break
;
case
dump_type_UInteger16
:
case
dump_type_UInteger16
:
...
...
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