aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-01-27 00:15:59 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-01-27 00:15:59 +0000
commitcd55e50ffc710853ec41a43237edec69e25cbc08 (patch)
tree5227dc396ff21432f22d57f4c7c5060f43e0b683
parentaa0bf128e195b4eb63613b71755a08d7bf05fe66 (diff)
downloadgdb-cd55e50ffc710853ec41a43237edec69e25cbc08.zip
gdb-cd55e50ffc710853ec41a43237edec69e25cbc08.tar.gz
gdb-cd55e50ffc710853ec41a43237edec69e25cbc08.tar.bz2
gdb/
* symtab.h (struct symbol <symtab>): New comment on NULL values.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 41236ea..46d5423 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symtab.h (struct symbol <symtab>): New comment on NULL values.
+
2010-01-27 Doug Evans <dje@google.com>
* breakpoint.c (bpstat_stop_status): Delete useless code.
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 8759732..167dfe8 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -554,7 +554,8 @@ struct symbol
struct type *type;
/* The symbol table containing this symbol. This is the file
- associated with LINE. */
+ associated with LINE. It can be NULL during symbols read-in but it is
+ never NULL during normal operation. */
struct symtab *symtab;
/* Domain code. */