Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
af1b0dc5bfea
Commit
3dbe708c
authored
Aug 01, 2018
by
alex@thinkpad
Browse files
GDB scripts: moved try_expand_ram_struct at the top
--HG-- branch : qemu
parent
26275622a6af
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/qemu/scripts/debug-logging.gdb
View file @
af1b0dc5
...
...
@@ -156,6 +156,13 @@ define print_current_location_with_callstack
print_current_location
end
# helper for unknown data structures
define try_expand_ram_struct
if $arg0 > 0x1000 && $arg0 < 0x1000000
printf " "
printf "*0x%x = { %x %x %x %x %x ... }\n", $arg0, MEM($arg0), MEM($arg0+4), MEM($arg0+8), MEM($arg0+12), MEM($arg0+16)
end
end
define print_formatted_string
# count how many % characters we have
...
...
@@ -846,13 +853,6 @@ define prop_deliver_log
end
end
define try_expand_ram_struct
if $arg0 > 0x1000 && $arg0 < 0x1000000
printf " "
printf "*0x%x = { %x %x %x %x %x ... }\n", $arg0, MEM($arg0), MEM($arg0+4), MEM($arg0+8), MEM($arg0+12), MEM($arg0+16)
end
end
define try_post_event_log
commands
silent
...
...
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