diff options
author | Doug Evans <dje@google.com> | 2007-11-14 23:14:40 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2007-11-14 23:14:40 +0000 |
commit | 0b0287a1e43a7ca6ab9ef9cc778d0e67a4d280de (patch) | |
tree | 0140be9c8096cc7ad0863b1320ba0ea028357e2e /gdb | |
parent | cee076042c7f4d1f8b139bf91f1afdff101a4b17 (diff) | |
download | gdb-0b0287a1e43a7ca6ab9ef9cc778d0e67a4d280de.zip gdb-0b0287a1e43a7ca6ab9ef9cc778d0e67a4d280de.tar.gz gdb-0b0287a1e43a7ca6ab9ef9cc778d0e67a4d280de.tar.bz2 |
* buildsym.c (start_subfile,start_symtab): Doc fixes.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/buildsym.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83c5ba9..7c98f3c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-11-14 Doug Evans <dje@google.com> + + * buildsym.c (start_subfile,start_symtab): Doc fixes. + 2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com> * tui/tui-data.c (tui_prev_win): Guard against NULL. diff --git a/gdb/buildsym.c b/gdb/buildsym.c index ec32414..0b1a526 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; |