comment fixes
This fixes up a few mildly erroneous comments in probe.h. 2014-03-03 Tom Tromey <tromey@redhat.com> * probe.h (parse_probes, find_probe_by_pc) (find_probes_in_objfile): Fix comments.
This commit is contained in:
parent
65d7bab591
commit
ff8879201a
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-03 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* probe.h (parse_probes, find_probe_by_pc)
|
||||||
|
(find_probes_in_objfile): Fix comments.
|
||||||
|
|
||||||
2014-03-02 Doug Evans <xdje42@gmail.com>
|
2014-03-02 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* infrun.c (handle_signal_stop): Replace test for
|
* infrun.c (handle_signal_stop): Replace test for
|
||||||
|
|
13
gdb/probe.h
13
gdb/probe.h
|
@ -183,8 +183,7 @@ struct probe
|
||||||
};
|
};
|
||||||
|
|
||||||
/* A helper for linespec that decodes a probe specification. It returns a
|
/* A helper for linespec that decodes a probe specification. It returns a
|
||||||
symtabs_and_lines object and updates *ARGPTR or throws an error. The
|
symtabs_and_lines object and updates *ARGPTR or throws an error. */
|
||||||
argument PTYPE specifies the type of the probe(s) to be parsed. */
|
|
||||||
|
|
||||||
extern struct symtabs_and_lines parse_probes (char **argptr,
|
extern struct symtabs_and_lines parse_probes (char **argptr,
|
||||||
struct linespec_result *canon);
|
struct linespec_result *canon);
|
||||||
|
@ -194,14 +193,14 @@ extern struct symtabs_and_lines parse_probes (char **argptr,
|
||||||
|
|
||||||
extern void register_probe_ops (struct probe *probe);
|
extern void register_probe_ops (struct probe *probe);
|
||||||
|
|
||||||
/* Given a PC, find an associated probe with type PTYPE. If a probe is
|
/* Given a PC, find an associated probe. If a probe is found, return
|
||||||
found, return it. If no probe is found, return NULL. */
|
it. If no probe is found, return NULL. */
|
||||||
|
|
||||||
extern struct probe *find_probe_by_pc (CORE_ADDR pc);
|
extern struct probe *find_probe_by_pc (CORE_ADDR pc);
|
||||||
|
|
||||||
/* Search OBJFILE for a probe with the given PROVIDER, NAME and PTYPE.
|
/* Search OBJFILE for a probe with the given PROVIDER, NAME. Return a
|
||||||
Return a VEC of all probes that were found. If no matching probe
|
VEC of all probes that were found. If no matching probe is found,
|
||||||
is found, return NULL. The caller must free the VEC. */
|
return NULL. The caller must free the VEC. */
|
||||||
|
|
||||||
extern VEC (probe_p) *find_probes_in_objfile (struct objfile *objfile,
|
extern VEC (probe_p) *find_probes_in_objfile (struct objfile *objfile,
|
||||||
const char *provider,
|
const char *provider,
|
||||||
|
|
Loading…
Reference in New Issue