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

Side by Side Diff: gdb/stap-probe.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/stamp-h1 ('k') | gdb/stap-probe.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* SystemTap probe support for GDB.
2
3 Copyright (C) 2012 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
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
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 #if !defined (STAP_PROBE_H)
21 #define STAP_PROBE_H 1
22
23 /* Structure which holds information about the parsing process of one probe's
24 argument. */
25
26 struct stap_parse_info
27 {
28 /* The probe's argument in a string format. */
29 const char *arg;
30
31 /* A pointer to the full chain of arguments. This is useful for printing
32 error messages. The parser functions should not modify this argument
33 directly; instead, they should use the ARG pointer above. */
34 const char *saved_arg;
35
36 /* The expected argument type (bitness), as defined in the probe's
37 argument. For instance, if the argument begins with `-8@', it means
38 the bitness is 64-bit signed. In this case, ARG_TYPE would represent
39 the type `int64_t'. */
40 struct type *arg_type;
41
42 /* A pointer to the current gdbarch. */
43 struct gdbarch *gdbarch;
44
45 /* Greater than zero if we are inside a parenthesized expression. Useful
46 for knowing when to skip spaces or not. */
47 int inside_paren_p;
48 };
49
50 #endif /* !defined (STAP_PROBE_H) */
OLDNEW
« no previous file with comments | « gdb/stamp-h1 ('k') | gdb/stap-probe.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698