Changeset 1845e91 in rtems-tools


Ignore:
Timestamp:
Mar 16, 2016, 5:21:57 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, master
Children:
4bcf18b
Parents:
0bbd2de
Message:

tester: Provide a gdb kill method to aid clean ups on ctrl-C.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/gdb.py

    r0bbd2de r1845e91  
    228228        self._lock('_open')
    229229        try:
     230            self.process = None
     231        finally:
     232            self._unlock('_open')
     233
     234    def kill(self):
     235        self._lock('_open')
     236        try:
     237            if self.process:
     238                self.process.kill()
    230239            self.process = None
    231240        finally:
Note: See TracChangeset for help on using the changeset viewer.