diff options
Diffstat (limited to 'gcc/gdbhooks.py')
-rw-r--r-- | gcc/gdbhooks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gdbhooks.py b/gcc/gdbhooks.py index baccd6b783e..f0a925c2b9c 100644 --- a/gcc/gdbhooks.py +++ b/gcc/gdbhooks.py @@ -383,6 +383,8 @@ class VecPrinter: return '0x%x' % long(self.gdbval) def children (self): + if long(self.gdbval) == 0: + return m_vecpfx = self.gdbval['m_vecpfx'] m_num = m_vecpfx['m_num'] m_vecdata = self.gdbval['m_vecdata'] |