diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-24 16:11:11 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-24 16:11:11 +0000 |
commit | 8816824a830c593a0b8461f63836192cb35aea6d (patch) | |
tree | 6381633e10a3e4e88871849e4b3f7658fa85698c /gdb | |
parent | acdec9542b53edc49b7368310542d052c58ddfab (diff) | |
download | gdb-8816824a830c593a0b8461f63836192cb35aea6d.zip gdb-8816824a830c593a0b8461f63836192cb35aea6d.tar.gz gdb-8816824a830c593a0b8461f63836192cb35aea6d.tar.bz2 |
* stabs.texinfo (Global Variables): Talk about stabs in files
where variables are referenced, but not defined.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/stabs.texinfo | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7bfdd32..d5e6480 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 24 08:09:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo (Global Variables): Talk about stabs in files + where variables are referenced, but not defined. + Wed Mar 23 07:16:36 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * stabs.texinfo: Move stuff on @ and # type descriptors from node diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index c75836e..20e5035 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -856,6 +856,11 @@ from the external symbol for the global variable. In the example above, the @code{.global _g_foo} and @code{_g_foo:} lines tell the assembler to produce an external symbol. +Some compilers, like GCC, output @code{N_GSYM} stabs only once, where +the variable is defined. Other compilers, like SunOS4 /bin/cc, output a +@code{N_GSYM} stab for each compilation unit which references the +variable. + @node Register Variables @section Register Variables |