Skip to content

Commit

Permalink
Format Variables in HEX by default
Browse files Browse the repository at this point in the history
Most kernel variables makes more sense as an HEX, e.g. pointers and
memory references.

Format can be toggled at run-time by issuing this command:

  `set output-radix BASE

from the debug console prompt, which will update also the currently
displayed variables.
  • Loading branch information
FlorentRevest committed Feb 21, 2024
1 parent b767617 commit 04df6aa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"text": "add-auto-load-safe-path ${workspaceFolder}/scripts/gdb",
"ignoreFailures": true,
},
{
"description": "Format Locals as HEX by default",
"text": "set output-radix 16",
"ignoreFailures": true,
},
],

"cwd": "${workspaceFolder}",
Expand Down Expand Up @@ -48,6 +53,11 @@
"text": "add-auto-load-safe-path ${workspaceFolder}/scripts/gdb",
"ignoreFailures": true,
},
{
"description": "Format Locals as HEX by default",
"text": "set output-radix 16",
"ignoreFailures": true,
},
],

"cwd": "${workspaceFolder}",
Expand Down Expand Up @@ -76,6 +86,11 @@
"text": "add-auto-load-safe-path ${workspaceFolder}/scripts/gdb",
"ignoreFailures": true,
},
{
"description": "Format Locals as HEX by default",
"text": "set output-radix 16",
"ignoreFailures": true,
},
],

"cwd": "${workspaceFolder}",
Expand Down

0 comments on commit 04df6aa

Please sign in to comment.