Changeset 19

Show
Ignore:
Timestamp:
03/15/06 16:42:50 (3 years ago)
Author:
teqdruid
Message:

I think I have it working now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mod/gdb/c-lang.c

    r18 r19  
    750750  c_error, 
    751751  null_post_parser, 
    752   c_printchar,                 /* Print a character constant */ 
    753   c_printstr,                  /* Function to print string constant */ 
    754   c_emit_char,                 /* Print a single char */ 
    755   c_create_fundamental_type,   /* Create fundamental type in this language */ 
    756   c_print_type,                        /* Print a type using appropriate syntax */ 
    757   c_val_print,                 /* Print a value using appropriate syntax */ 
    758   c_value_print,               /* Print a top-level value */ 
    759   NULL,                                /* Language specific skip_trampoline */ 
    760   NULL,                                /* value_of_this */ 
    761   basic_lookup_symbol_nonlocal,        /* lookup_symbol_nonlocal */ 
     752  c_printchar,         /* Print a character constant */ 
     753  c_printstr,          /* Function to print string constant */ 
     754  c_emit_char,         /* Print a single char */ 
     755  c_create_fundamental_type,   /* Create fundamental type in this language */ 
     756  c_print_type,            /* Print a type using appropriate syntax */ 
     757  c_val_print,         /* Print a value using appropriate syntax */ 
     758  c_value_print,       /* Print a top-level value */ 
     759  NULL,                /* Language specific skip_trampoline */ 
     760  NULL,                /* value_of_this */ 
     761  basic_lookup_symbol_nonlocal,    /* lookup_symbol_nonlocal */ 
    762762  basic_lookup_transparent_type,/* lookup_transparent_type */ 
    763   d_demangle,                  /* Language specific symbol demangler */ 
    764   NULL,                                /* Language specific class_name_from_physname */ 
    765   c_op_print_tab,              /* expression operators for printing */ 
    766   1,                           /* c-style arrays */ 
    767   0,                           /* String lower bound */ 
     763  d_demangle,          /* Language specific symbol demangler */ 
     764  NULL,                /* Language specific class_name_from_physname */ 
     765  c_op_print_tab,      /* expression operators for printing */ 
     766  1,               /* c-style arrays */ 
     767  0,               /* String lower bound */ 
    768768  NULL, 
    769769  default_word_break_characters, 
    770770  c_language_arch_info, 
     771  default_print_array_index, 
    771772  LANG_MAGIC 
    772773}; 
  • trunk/mod/gdb/dwarf2read.c

    r18 r19  
    65816581                line_ptr += bytes_read; 
    65826582                fe = &lh->file_names[file - 1]; 
    6583                 if (fe->dir_index
     6583                if (fe->dir_index && lh->include_dirs != NULL
    65846584                  dir = lh->include_dirs[fe->dir_index - 1]; 
    65856585                else