Skip to content
Snippets Groups Projects
Commit ce177a50 authored by Nadav Har'El's avatar Nadav Har'El Committed by Pekka Enberg
Browse files

gdb: fix "osv mmap" and friends


It appears that in GDB, (mmu::vma*)0 does not work, and one needs to enclose
the type's name in single quotes: ('mmu::vma'*)0. This broke the vma_list
function in scripts/loader.py, and caused an exception in "osv mmap" and
other commands using the vma_list function.

This patch adds the missing single-quotes.

I don't understand how this code ever worked for anybody...
I'm using gdb-7.6.1 from Fedora 19, if it matters.

Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent a06c22d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment