Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software for White Rabbit PTP Core
Manage
Activity
Members
Labels
Plan
Issues
39
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Software for White Rabbit PTP Core
Commits
80e3e6b9
Commit
80e3e6b9
authored
8 years ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
include/dump-info: add dump_type_uint8_t
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
58c1938c
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/dump-info.h
+1
-0
1 addition, 0 deletions
include/dump-info.h
tools/wrpc-dump.c
+1
-0
1 addition, 0 deletions
tools/wrpc-dump.c
with
2 additions
and
0 deletions
include/dump-info.h
+
1
−
0
View file @
80e3e6b9
...
...
@@ -15,6 +15,7 @@ enum dump_type {
dump_type_char
,
/* for zero-terminated strings */
dump_type_bina
,
/* for binary stull in MAC format */
/* normal types follow */
dump_type_uint8_t
,
dump_type_uint32_t
,
dump_type_uint16_t
,
dump_type_int
,
...
...
This diff is collapsed.
Click to expand it.
tools/wrpc-dump.c
+
1
−
0
View file @
80e3e6b9
...
...
@@ -112,6 +112,7 @@ void dump_one_field(void *addr, struct dump_info *info)
case
dump_type_Integer8
:
case
dump_type_Enumeration8
:
case
dump_type_Boolean
:
case
dump_type_uint8_t
:
printf
(
"%i
\n
"
,
*
(
unsigned
char
*
)
p
);
break
;
case
dump_type_UInteger16
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment