aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lessons/Lesson_42/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lessons/Lesson_42/README.md b/Lessons/Lesson_42/README.md
index 1074dfe..9e7474f 100644
--- a/Lessons/Lesson_42/README.md
+++ b/Lessons/Lesson_42/README.md
@@ -377,6 +377,8 @@ In the end `run_gdb_ovmf.sh` would provide similar `tmux` session. The only diff
- `Ctrl+n` - next GDB command in history
- `Ctrl+x` and `o` - change active window in tui mode
+To print variable value in hexadecimal use `p/x <variable>`.
+
To print CHAR16 string you can use `x /sh <addr>` command. Here is the example how can you print device path:
```
(gdb) p ConvertDevicePathToText(DevicePath, 0, 1)