Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: gdb/utils.c

Issue 16339009: Switch gdb command parameters parsing algorithm from UNIX rules to Windows rules. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
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
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
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

OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698