| OLD | NEW |
| 1 /* D language support routines for GDB, the GNU debugger. | 1 /* D language support routines for GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright (C) 2005-2006, 2008-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2005-2006, 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 c_error, | 249 c_error, |
| 250 null_post_parser, | 250 null_post_parser, |
| 251 c_printchar, /* Print a character constant. */ | 251 c_printchar, /* Print a character constant. */ |
| 252 c_printstr, /* Function to print string constant. */ | 252 c_printstr, /* Function to print string constant. */ |
| 253 c_emit_char, /* Print a single char. */ | 253 c_emit_char, /* Print a single char. */ |
| 254 c_print_type, /* Print a type using appropriate syntax. */ | 254 c_print_type, /* Print a type using appropriate syntax. */ |
| 255 c_print_typedef, /* Print a typedef using appropriate | 255 c_print_typedef, /* Print a typedef using appropriate |
| 256 syntax. */ | 256 syntax. */ |
| 257 d_val_print, /* Print a value using appropriate syntax. */ | 257 d_val_print, /* Print a value using appropriate syntax. */ |
| 258 c_value_print, /* Print a top-level value. */ | 258 c_value_print, /* Print a top-level value. */ |
| 259 default_read_var_value, /* la_read_var_value */ |
| 259 NULL, /* Language specific skip_trampoline. */ | 260 NULL, /* Language specific skip_trampoline. */ |
| 260 "this", | 261 "this", |
| 261 basic_lookup_symbol_nonlocal, | 262 basic_lookup_symbol_nonlocal, |
| 262 basic_lookup_transparent_type, | 263 basic_lookup_transparent_type, |
| 263 d_demangle, /* Language specific symbol demangler. */ | 264 d_demangle, /* Language specific symbol demangler. */ |
| 264 NULL, /* Language specific | 265 NULL, /* Language specific |
| 265 class_name_from_physname. */ | 266 class_name_from_physname. */ |
| 266 d_op_print_tab, /* Expression operators for printing. */ | 267 d_op_print_tab, /* Expression operators for printing. */ |
| 267 1, /* C-style arrays. */ | 268 1, /* C-style arrays. */ |
| 268 0, /* String lower bound. */ | 269 0, /* String lower bound. */ |
| 269 default_word_break_characters, | 270 default_word_break_characters, |
| 270 default_make_symbol_completion_list, | 271 default_make_symbol_completion_list, |
| 271 c_language_arch_info, | 272 c_language_arch_info, |
| 272 default_print_array_index, | 273 default_print_array_index, |
| 273 default_pass_by_reference, | 274 default_pass_by_reference, |
| 274 c_get_string, | 275 c_get_string, |
| 275 strcmp_iw_ordered, | 276 NULL,»» » » /* la_get_symbol_name_cmp */ |
| 276 NULL, | 277 iterate_over_symbols, |
| 277 LANG_MAGIC | 278 LANG_MAGIC |
| 278 }; | 279 }; |
| 279 | 280 |
| 281 /* Provide a prototype to silence -Wmissing-prototypes. */ |
| 282 extern initialize_file_ftype _initialize_d_language; |
| 283 |
| 280 void | 284 void |
| 281 _initialize_d_language (void) | 285 _initialize_d_language (void) |
| 282 { | 286 { |
| 283 add_language (&d_language_defn); | 287 add_language (&d_language_defn); |
| 284 } | 288 } |
| OLD | NEW |