trepan/lib/sighandler.py
def print_info_signal_entry(self, signame):
        """Print status for a single signal name (signame)"""
        if signame in signal_description:
            description=signal_description[signame]
        else:
            description=""
            pass
        if signame not in list(self.sigs.keys()):
            # Fake up an entry as though signame were in sigs.
            self.dbgr.intf[-1].msg(self.info_fmt
                                   % (signame, 'No', 'No', 'No', 'Yes',
                                      description))
            return

        sig_obj = self.sigs[signame]
        self.dbgr.intf[-1].msg(self.info_fmt %
                               (signame,
                                YN(sig_obj.b_stop),
                                YN(sig_obj.print_method is not None),
                                YN(sig_obj.print_stack),
                                YN(sig_obj.pass_along),
                                description))
        return
def print_info_signal_entry(self, signame):
        """Print status for a single signal name (signame)"""
        if signame in signal_description:
            description=signal_description[signame]
        else:
            description=""
            pass
        if signame not in list(self.sigs.keys()):
            # Fake up an entry as though signame were in sigs.
            self.dbgr.intf[-1].msg(self.info_fmt
                                   % (signame, 'No', 'No', 'No', 'Yes',
                                      description))
            return

        sig_obj = self.sigs[signame]
        self.dbgr.intf[-1].msg(self.info_fmt %
                               (signame,
                                YN(sig_obj.b_stop),
                                YN(sig_obj.print_method is not None),
                                YN(sig_obj.print_stack),
                                YN(sig_obj.pass_along),
                                description))
        return
Print status for a single signal name (signame)