diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-02 11:12:15 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-03-03 12:36:43 -0700 |
commit | ff8879201af6e734741c2be0c26b71b1745667ad (patch) | |
tree | 172400c8cb65176ee352f561e57c231279ae2293 | |
parent | 65d7bab5919338f2f41256e24c0609c91eaf0432 (diff) | |
download | gdb-ff8879201af6e734741c2be0c26b71b1745667ad.zip gdb-ff8879201af6e734741c2be0c26b71b1745667ad.tar.gz gdb-ff8879201af6e734741c2be0c26b71b1745667ad.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/probe.h | 13 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20a9953..e58a42d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * infrun.c (handle_signal_stop): Replace test for diff --git a/gdb/probe.h b/gdb/probe.h index a3a6049..38cc950 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -183,8 +183,7 @@ struct probe }; /* A helper for linespec that decodes a probe specification. It returns a - symtabs_and_lines object and updates *ARGPTR or throws an error. The - argument PTYPE specifies the type of the probe(s) to be parsed. */ + symtabs_and_lines object and updates *ARGPTR or throws an error. */ extern struct symtabs_and_lines parse_probes (char **argptr, 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); -/* Given a PC, find an associated probe with type PTYPE. If a probe is - found, return it. If no probe is found, return NULL. */ +/* Given a PC, find an associated probe. If a probe is found, return + it. If no probe is found, return NULL. */ extern struct probe *find_probe_by_pc (CORE_ADDR pc); -/* Search OBJFILE for a probe with the given PROVIDER, NAME and PTYPE. - Return a VEC of all probes that were found. If no matching probe - is found, return NULL. The caller must free the VEC. */ +/* Search OBJFILE for a probe with the given PROVIDER, NAME. Return a + VEC of all probes that were found. If no matching probe is found, + return NULL. The caller must free the VEC. */ extern VEC (probe_p) *find_probes_in_objfile (struct objfile *objfile, const char *provider, |