http://d.puremagic.com/issues/show_bug.cgi?id=2575





------- Comment #2 from mihail.zen...@gmail.com  2009-01-24 16:09 -------
Break points don't work with demangled name. Not sure but imho problem in
incorrect DW_AT_name and/or not provided DW_AT_MIPS_linkage by DMD.

DMD put mangled name to DW_AT_name:
 <2><91>: Abbrev Number: 6 (DW_TAG_subprogram)
     DW_AT_sibling     : <c8>
     DW_AT_name        : _D5crash3fooFZv
     DW_AT_decl_file   : 1
     DW_AT_decl_line   : 12
     DW_AT_low_pc      : 0
     DW_AT_high_pc     : 0x16
     DW_AT_frame_base  : 1 byte block: 55       (DW_OP_reg5)

GDC/GCC put mangled name to DW_AT_MIPS_linkage_name and demandled to
DW_AT_name:
 <1><bd>: Abbrev Number: 6 (DW_TAG_subprogram)
     DW_AT_external    : 1
     DW_AT_name        : foo
     DW_AT_decl_file   : 1
     DW_AT_decl_line   : 12
     DW_AT_MIPS_linkage_name: _D5crash3fooFZv
     DW_AT_low_pc      : 0x3b
     DW_AT_high_pc     : 0x51
     DW_AT_frame_base  : 0x43   (location list)

After fix DW_TAG_module you can try use mangled name, for example main - _Dmain


-- 

Reply via email to