aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2008-05-03 06:13:21 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2008-05-03 06:13:21 +0000
commitf132ba9d37799a53d590a9f4cc0c49f34d550393 (patch)
tree6317c367be8263fdc301c68682a6537aab08c47d /gdb/source.c
parent5c44b38ef660ed5eb5e28fe2c522d15494b42def (diff)
downloadgdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.zip
gdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.tar.gz
gdb-f132ba9d37799a53d590a9f4cc0c49f34d550393.tar.bz2
* breakpoint.c (create_exception_catchpoint): Remove prototype
for already deleted function. * breakpoint.h (ep_is_exception_catchpoint): Likewise. * frame.h (show_stack_frame): Remove prototype. * stack.c (show_stack_frame): Remove empty, unused function. * source.c (symtab_to_fullname, print_source_lines): Small fix in comment. * value.c (show_values): Update comments to mention "show values" command instead of "info history".
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/source.c b/gdb/source.c
index ceca38b..03ecbd7 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1046,11 +1046,11 @@ open_source_file (struct symtab *s)
/* Finds the fullname that a symtab represents.
- If this functions finds the fullname, it will save it in ps->fullname
+ If this functions finds the fullname, it will save it in s->fullname
and it will also return the value.
If this function fails to find the file that this symtab represents,
- NULL will be returned and ps->fullname will be set to NULL. */
+ NULL will be returned and s->fullname will be set to NULL. */
char *
symtab_to_fullname (struct symtab *s)
{
@@ -1421,7 +1421,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline, int noerror)
}
/* Show source lines from the file of symtab S, starting with line
- number LINE and stopping before line number STOPLINE. If this is the
+ number LINE and stopping before line number STOPLINE. If this is
not the command line version, then the source is shown in the source
window otherwise it is simply printed */