OLD | NEW |
1 /* Multiple source language support for GDB. | 1 /* Multiple source language support for GDB. |
2 | 2 |
3 Copyright (C) 1991-1996, 1998-2005, 2007-2012 Free Software | 3 Copyright (C) 1991-1996, 1998-2005, 2007-2012 Free Software |
4 Foundation, Inc. | 4 Foundation, Inc. |
5 | 5 |
6 Contributed by the Department of Computer Science at the State University | 6 Contributed by the Department of Computer Science at the State University |
7 of New York at Buffalo. | 7 of New York at Buffalo. |
8 | 8 |
9 This file is part of GDB. | 9 This file is part of GDB. |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 static void unk_lang_emit_char (int c, struct type *type, | 60 static void unk_lang_emit_char (int c, struct type *type, |
61 struct ui_file *stream, int quoter); | 61 struct ui_file *stream, int quoter); |
62 | 62 |
63 static void unk_lang_printchar (int c, struct type *type, | 63 static void unk_lang_printchar (int c, struct type *type, |
64 struct ui_file *stream); | 64 struct ui_file *stream); |
65 | 65 |
66 static void unk_lang_print_type (struct type *, const char *, struct ui_file *, | 66 static void unk_lang_print_type (struct type *, const char *, struct ui_file *, |
67 int, int); | 67 int, int); |
68 | 68 |
69 static int unk_lang_value_print (struct value *, struct ui_file *, | 69 static void unk_lang_value_print (struct value *, struct ui_file *, |
70 » » » » const struct value_print_options *); | 70 » » » » const struct value_print_options *); |
71 | 71 |
72 static CORE_ADDR unk_lang_trampoline (struct frame_info *, CORE_ADDR pc); | 72 static CORE_ADDR unk_lang_trampoline (struct frame_info *, CORE_ADDR pc); |
73 | 73 |
74 /* Forward declaration */ | 74 /* Forward declaration */ |
75 extern const struct language_defn unknown_language_defn; | 75 extern const struct language_defn unknown_language_defn; |
76 | 76 |
77 /* The current (default at startup) state of type and range checking. | 77 /* The current (default at startup) state of type and range checking. |
78 (If the modes are set to "auto", though, these are changed based | 78 (If the modes are set to "auto", though, these are changed based |
79 on the default language at startup, and then again based on the | 79 on the default language at startup, and then again based on the |
80 language of the first source file. */ | 80 language of the first source file. */ |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 expected_language = current_language; | 460 expected_language = current_language; |
461 printf_unfiltered (_("Current language: %s\n"), language); | 461 printf_unfiltered (_("Current language: %s\n"), language); |
462 show_language_command (NULL, 1, NULL, NULL); | 462 show_language_command (NULL, 1, NULL, NULL); |
463 | 463 |
464 if (!quietly) | 464 if (!quietly) |
465 { | 465 { |
466 printf_unfiltered (_("Type checking: %s\n"), type); | 466 printf_unfiltered (_("Type checking: %s\n"), type); |
467 show_type_command (NULL, 1, NULL, NULL); | 467 show_type_command (NULL, 1, NULL, NULL); |
468 printf_unfiltered (_("Range checking: %s\n"), range); | 468 printf_unfiltered (_("Range checking: %s\n"), range); |
469 show_range_command (NULL, 1, NULL, NULL); | 469 show_range_command (NULL, 1, NULL, NULL); |
error: old chunk mismatch |
None
OLD | NEW |