projects
/
deliverable
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64bb143
)
(nlm_symfile_read): Use SYMBOL_CLASS to access symbol class.
author
Stu Grossman
<grossman@cygnus>
Thu, 9 Jun 1994 15:32:46 +0000
(15:32 +0000)
committer
Stu Grossman
<grossman@cygnus>
Thu, 9 Jun 1994 15:32:46 +0000
(15:32 +0000)
gdb/nlmread.c
patch
|
blob
|
blame
|
history
diff --git
a/gdb/nlmread.c
b/gdb/nlmread.c
index a5d6186722bd716d4ed1deadfdd861eb019c2443..a12ca6341753b8650586a928a09dc09c2a6fdd0e 100644
(file)
--- a/
gdb/nlmread.c
+++ b/
gdb/nlmread.c
@@
-227,7
+227,7
@@
nlm_symfile_read (objfile, section_offsets, mainline)
mainsym = lookup_symbol ("main", NULL, VAR_NAMESPACE, NULL, NULL);
if (mainsym
- &&
mainsym->class
== LOC_BLOCK)
+ &&
SYMBOL_CLASS(mainsym)
== LOC_BLOCK)
{
objfile->ei.main_func_lowpc = BLOCK_START (SYMBOL_BLOCK_VALUE (mainsym));
objfile->ei.main_func_highpc = BLOCK_END (SYMBOL_BLOCK_VALUE (mainsym));
This page took
0.024216 seconds
and
4
git commands to generate.