OLD | NEW |
1 /* General utility routines for GDB, the GNU debugger. | 1 /* General utility routines for GDB, the GNU debugger. |
2 | 2 |
3 Copyright (C) 1986, 1988-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986, 1988-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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 #include "readline/readline.h" | 72 #include "readline/readline.h" |
73 | 73 |
74 #include <sys/time.h> | 74 #include <sys/time.h> |
75 #include <time.h> | 75 #include <time.h> |
76 | 76 |
77 #include "gdb_usleep.h" | 77 #include "gdb_usleep.h" |
78 #include "interps.h" | 78 #include "interps.h" |
79 #include "gdb_regex.h" | 79 #include "gdb_regex.h" |
80 | 80 |
| 81 #if defined(_WIN32) && !defined(__CYGWIN__) |
| 82 #include <windows.h> |
| 83 #endif |
| 84 |
81 #if !HAVE_DECL_MALLOC | 85 #if !HAVE_DECL_MALLOC |
82 extern PTR malloc (); /* ARI: PTR */ | 86 extern PTR malloc (); /* ARI: PTR */ |
83 #endif | 87 #endif |
84 #if !HAVE_DECL_REALLOC | 88 #if !HAVE_DECL_REALLOC |
85 extern PTR realloc (); /* ARI: PTR */ | 89 extern PTR realloc (); /* ARI: PTR */ |
86 #endif | 90 #endif |
87 #if !HAVE_DECL_FREE | 91 #if !HAVE_DECL_FREE |
88 extern void free (); | 92 extern void free (); |
89 #endif | 93 #endif |
90 | 94 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 /* String to be printed before warning messages, if any. */ | 159 /* String to be printed before warning messages, if any. */ |
156 | 160 |
157 char *warning_pre_print = "\nwarning: "; | 161 char *warning_pre_print = "\nwarning: "; |
158 | 162 |
159 int pagination_enabled = 1; | 163 int pagination_enabled = 1; |
160 static void | 164 static void |
161 show_pagination_enabled (struct ui_file *file, int from_tty, | 165 show_pagination_enabled (struct ui_file *file, int from_tty, |
162 struct cmd_list_element *c, const char *value) | 166 struct cmd_list_element *c, const char *value) |
163 { | 167 { |
164 fprintf_filtered (file, _("State of pagination is %s.\n"), value); | 168 fprintf_filtered (file, _("State of pagination is %s.\n"), value); |
error: old chunk mismatch |
None
OLD | NEW |