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

Side by Side Diff: gdb/mi/mi-parse.h

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/mi/mi-out.c ('k') | gdb/mi/mi-parse.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* MI Command Set - MI Command Parser. 1 /* MI Command Set - MI Command Parser.
2 Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2007-2012 Free Software Foundation, Inc.
3 Contributed by Cygnus Solutions (a Red Hat company). 3 Contributed by Cygnus Solutions (a Red Hat company).
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 /* Attempts to parse CMD returning a ``struct mi_parse''. If CMD is 55 /* Attempts to parse CMD returning a ``struct mi_parse''. If CMD is
56 invalid, an exception is thrown. For an MI_COMMAND COMMAND, ARGS 56 invalid, an exception is thrown. For an MI_COMMAND COMMAND, ARGS
57 and OP are initialized. Un-initialized fields are zero. *TOKEN is 57 and OP are initialized. Un-initialized fields are zero. *TOKEN is
58 set to the token, even if an exception is thrown. It is allocated 58 set to the token, even if an exception is thrown. It is allocated
59 with xmalloc; it must either be freed with xfree, or assigned to 59 with xmalloc; it must either be freed with xfree, or assigned to
60 the TOKEN field of the resultant mi_parse object, to be freed by 60 the TOKEN field of the resultant mi_parse object, to be freed by
61 mi_parse_free. */ 61 mi_parse_free. */
62 62
63 extern struct mi_parse *mi_parse (char *cmd, char **token); 63 extern struct mi_parse *mi_parse (char *cmd, char **token);
64 64
65 /* Free a command returned by mi_parse_command. */ 65 /* Free a command returned by mi_parse_command. */
66 66
67 extern void mi_parse_free (struct mi_parse *cmd); 67 extern void mi_parse_free (struct mi_parse *cmd);
68 68
69 #endif 69 #endif
OLDNEW
« no previous file with comments | « gdb/mi/mi-out.c ('k') | gdb/mi/mi-parse.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698