Ticket #10019: 0006-freemheg-Print-ActionSlot-number-in-disassembly-to-a.patch

File 0006-freemheg-Print-ActionSlot-number-in-disassembly-to-a.patch, 1013 bytes (added by Lawrence Rust <lvr@…>, 9 years ago)
  • mythtv/libs/libmythfreemheg/TokenGroup.cpp

    From 3a89c1471ef50806da096004bc017e47046d3a7a Mon Sep 17 00:00:00 2001
    From: Lawrence Rust <lvr@softsystem.co.uk>
    Date: Mon, 18 Jul 2011 20:42:48 +0200
    Subject: [PATCH 6/9] freemheg: Print ActionSlot number in disassembly to aid debugging
    
    Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
    ---
     mythtv/libs/libmythfreemheg/TokenGroup.cpp |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/mythtv/libs/libmythfreemheg/TokenGroup.cpp b/mythtv/libs/libmythfreemheg/TokenGroup.cpp
    index b24160b..b147952 100644
    a b void MHTokenGroupItem::PrintMe(FILE *fd, int nTabs) const 
    6868        for (int i = 0; i < m_ActionSlots.Size(); i++)
    6969        {
    7070            PrintTabs(fd, nTabs + 2);
    71             fprintf(fd, "(\n");
     71            fprintf(fd, "( // slot %d\n", i);
    7272            MHActionSequence *pActions = m_ActionSlots.GetAt(i);
    7373
    7474            if (pActions->Size() == 0)