aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-05-28 14:08:47 +0000
committerNick Clifton <nickc@redhat.com>2002-05-28 14:08:47 +0000
commitd172d4ba0352f8b593fec9165c65257c3b64836d (patch)
treec701d82c46f192626096a6136cd233630d62997a /bfd/syms.c
parent69de2f89594c53dca9019e1e5b4a7a7567fc23cd (diff)
downloadfsf-binutils-gdb-d172d4ba0352f8b593fec9165c65257c3b64836d.zip
fsf-binutils-gdb-d172d4ba0352f8b593fec9165c65257c3b64836d.tar.gz
fsf-binutils-gdb-d172d4ba0352f8b593fec9165c65257c3b64836d.tar.bz2
Add DLX target
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 2a88941..1c4bf28 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -883,6 +883,7 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound,
char *file_name;
char *directory_name;
int saw_fun;
+ boolean saw_line, saw_func;
*pfound = false;
*pfilename = bfd_get_filename (abfd);
@@ -1239,13 +1240,13 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound,
directory_name = indexentry->directory_name;
str = indexentry->str;
+ saw_line = false;
+ saw_func = false;
for (; stab < (indexentry+1)->stab; stab += STABSIZE)
{
- boolean done, saw_line, saw_func;
+ boolean done;
bfd_vma val;
- saw_line = false;
- saw_func = false;
done = false;
switch (stab[TYPEOFF])