#1735: Pmc2c line numbering confuses gdb
----------------------+-----------------------------------------------------
 Reporter:  plobsing  |       Owner:  dukeleto
     Type:  bug       |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  tools     |     Version:  2.6.0   
 Severity:  medium    |    Keywords:          
     Lang:            |       Patch:          
 Platform:            |  
----------------------+-----------------------------------------------------
 Using the default configuration, gdb is unable to step through vtables,
 giving messages such as:

 {{{

 0x00007ffff7a90ae4 in Parrot_OpLib_init_pmc (
     interp=0x60a080, _self=0x789770,
     name_pmc=0x7892d0)
    from /home/pitr/dev/parrot/dynop_mapping/blib/lib/libparrot.so.2.6.0
 (gdb) n
 Single stepping until exit from function Parrot_OpLib_init_pmc,
 which has no line number information.
 Parrot_pmc_new_init (interp=0x60a080, base_type=37,
     init=0x7892d0) at src/pmc.c:551
 551             return pmc;

 }}}

 This is a significant drag because much Parrot functionality is inside
 vtables.

 Reconfiguring with --no-line-directives, which disables line directive
 generation from tools such as pmc2c, the vtables become steppable.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1735>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to