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

Side by Side Diff: gdb/python/py-cmd.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 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 | « gdb/python/py-breakpoint.c ('k') | gdb/python/py-continueevent.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* gdb commands implemented in Python 1 /* gdb commands implemented in Python
2 2
3 Copyright (C) 2008-2012 Free Software Foundation, Inc. 3 Copyright (C) 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 17 matching lines...) Expand all
28 #include "cli/cli-decode.h" 28 #include "cli/cli-decode.h"
29 #include "completer.h" 29 #include "completer.h"
30 #include "language.h" 30 #include "language.h"
31 31
32 /* Struct representing built-in completion types. */ 32 /* Struct representing built-in completion types. */
33 struct cmdpy_completer 33 struct cmdpy_completer
34 { 34 {
35 /* Python symbol name. */ 35 /* Python symbol name. */
36 char *name; 36 char *name;
37 /* Completion function. */ 37 /* Completion function. */
38 char **(*completer) (struct cmd_list_element *, char *, char *); 38 completer_ftype *completer;
39 }; 39 };
40 40
41 static struct cmdpy_completer completers[] = 41 static struct cmdpy_completer completers[] =
42 { 42 {
43 { "COMPLETE_NONE", noop_completer }, 43 { "COMPLETE_NONE", noop_completer },
44 { "COMPLETE_FILENAME", filename_completer }, 44 { "COMPLETE_FILENAME", filename_completer },
45 { "COMPLETE_LOCATION", location_completer }, 45 { "COMPLETE_LOCATION", location_completer },
46 { "COMPLETE_COMMAND", command_completer }, 46 { "COMPLETE_COMMAND", command_completer },
47 { "COMPLETE_SYMBOL", make_symbol_completion_list_fn }, 47 { "COMPLETE_SYMBOL", make_symbol_completion_list_fn },
48 }; 48 };
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 else 196 else
197 { 197 {
198 Py_XDECREF (ptype); 198 Py_XDECREF (ptype);
199 Py_XDECREF (pvalue); 199 Py_XDECREF (pvalue);
200 Py_XDECREF (ptraceback); 200 Py_XDECREF (ptraceback);
201 error ("%s", msg); 201 error ("%s", msg);
202 } 202 }
203 } 203 }
204 204
205 Py_DECREF (result); 205 Py_DECREF (result);

error: old chunk mismatch

OLDNEW
« no previous file with comments | « gdb/python/py-breakpoint.c ('k') | gdb/python/py-continueevent.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698