From b69f7d586f9625c687ee4fa82691b6e0d50eae58 Mon Sep 17 00:00:00 2001 From: devans Date: Wed, 14 Nov 2007 23:14:38 +0000 Subject: [PATCH] * buildsym.c (start_subfile,start_symtab): Doc fixes. --- gdb/ChangeLog | 4 ++++ gdb/buildsym.c | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83c5ba9c55..7c98f3cdb0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-11-14 Doug Evans + + * buildsym.c (start_subfile,start_symtab): Doc fixes. + 2007-11-13 Thiago Jung Bauermann * tui/tui-data.c (tui_prev_win): Guard against NULL. diff --git a/gdb/buildsym.c b/gdb/buildsym.c index ec324148a7..0b1a52635f 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -507,7 +507,7 @@ make_blockvector (struct objfile *objfile) /* Start recording information about source code that came from an included (or otherwise merged-in) source file with a different name. NAME is the name of the file (cannot be NULL), DIRNAME is - the directory in which it resides (or NULL if not known). */ + the directory in which the file was compiled (or NULL if not known). */ void start_subfile (char *name, char *dirname) @@ -778,12 +778,15 @@ compare_line_numbers (const void *ln1p, const void *ln2p) /* Start a new symtab for a new source file. Called, for example, when a stabs symbol of type N_SO is seen, or when a DWARF TAG_compile_unit DIE is seen. It indicates the start of data for - one original source file. */ + one original source file. + + NAME is the name of the file (cannot be NULL). DIRNAME is the directory in + which the file was compiled (or NULL if not known). START_ADDR is the + lowest address of objects in the file (or 0 if not known). */ void start_symtab (char *name, char *dirname, CORE_ADDR start_addr) { - last_source_file = name; last_source_start_addr = start_addr; file_symbols = NULL; -- 2.11.0