Changeset ce55b57 in rtems-tools for tools/gdb


Ignore:
Timestamp:
Jul 8, 2013, 4:10:21 PM (6 years ago)
Author:
Dhananjay Balan <mb.dhananjay@…>
Branches:
4.10, 4.11, master
Children:
f814c76
Parents:
10bcd5d
git-author:
Dhananjay Balan <mb.dhananjay@…> (07/08/13 16:10:21)
git-committer:
Chris Johns <chrisj@…> (08/24/14 23:52:40)
Message:

Object can have index from 1 to 'maximum'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gdb/python/objects.py

    r10bcd5d rce55b57  
    6969        self.load(n)
    7070        max = self.maximum(api, _class)
    71         if index >= max:
     71        if index > max:
    7272            raise IndexError('object index out of range (%d)' % (max))
    7373        table_type = self.tables_types[n]
Note: See TracChangeset for help on using the changeset viewer.