From: Scott Snyder <snyder@fnal.gov>
To: gdb@sources.redhat.com, gdb@thewrittenword.com
Subject: Re: GDB 5.1 on Tru64 UNIX 4.0D, 5.0, 5.1
Date: Mon, 26 Nov 2001 22:08:00 -0000 [thread overview]
Message-ID: <yr8oflo3fvu.fsf@d0sgibnl1.fnal.gov> (raw)
Message-ID: <20011126220800.vg2OU9W_IsiOoiyCBZIXPWXRFUuxiAJpC_Xy01O_07U@z> (raw)
In-Reply-To: <20011126104505.A14474@oolong.il.thewrittenword.com>
>gdb-internal-error: Section index is uninitialized
These hacks seemed to work around the worst of the symbol-reading problems
for me. There's still other problems on this platform, though.
sss
Index: gdb/mdebugread.c
===================================================================
RCS file: /cvs/src/src/gdb/mdebugread.c,v
retrieving revision 1.16
diff -u -r1.16 mdebugread.c
--- mdebugread.c 2001/10/12 23:51:28 1.16
+++ mdebugread.c 2001/11/02 20:03:52
@@ -2424,11 +2424,19 @@
}
else if (SC_IS_DATA (ext_in->asym.sc))
{
+#if 1 /* sss */
+ if (objfile->sect_index_data == -1)
+ continue;
+#endif
ms_type = mst_data;
svalue += ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile));
}
else if (SC_IS_BSS (ext_in->asym.sc))
{
+#if 1 /* sss */
+ if (objfile->sect_index_bss == -1)
+ continue;
+#endif
ms_type = mst_bss;
svalue += ANOFFSET (objfile->section_offsets, SECT_OFF_BSS (objfile));
}
@@ -2444,6 +2452,10 @@
}
else if (SC_IS_DATA (ext_in->asym.sc))
{
+#if 1 /* sss */
+ if (objfile->sect_index_data == -1)
+ continue;
+#endif
ms_type = mst_file_data;
svalue += ANOFFSET (objfile->section_offsets, SECT_OFF_DATA (objfile));
}
Index: bfd/ecoff.c
===================================================================
RCS file: /cvs/src/src/bfd/ecoff.c,v
retrieving revision 1.13
diff -u -r1.13 ecoff.c
--- ecoff.c 2001/10/10 12:08:28 1.13
+++ ecoff.c 2001/11/27 06:06:03
@@ -565,7 +565,7 @@
UPDATE_RAW_END (cbDnOffset, idnMax, backend->debug_swap.external_dnr_size);
UPDATE_RAW_END (cbPdOffset, ipdMax, backend->debug_swap.external_pdr_size);
UPDATE_RAW_END (cbSymOffset, isymMax, backend->debug_swap.external_sym_size);
- UPDATE_RAW_END (cbOptOffset, ioptMax, backend->debug_swap.external_opt_size);
+ UPDATE_RAW_END (cbOptOffset, ioptMax, 1/*backend->debug_swap.external_opt_size*/);
UPDATE_RAW_END (cbAuxOffset, iauxMax, sizeof (union aux_ext));
UPDATE_RAW_END (cbSsOffset, issMax, sizeof (char));
UPDATE_RAW_END (cbSsExtOffset, issExtMax, sizeof (char));
next prev parent reply other threads:[~2001-11-26 22:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-14 1:38 gdb
2001-11-16 5:53 ` Scott Snyder [this message]
2001-11-17 9:11 ` Joel Brobecker
2001-11-27 5:51 ` Joel Brobecker
2001-11-26 22:08 ` Scott Snyder
2001-11-26 8:45 ` gdb
2001-11-26 11:11 ` Eli Zaretskii
2001-11-14 8:04 ` Eli Zaretskii
2001-11-26 11:48 ` gdb
2001-11-14 12:16 ` gdb
2001-11-14 12:27 ` Eli Zaretskii
2001-11-14 16:07 ` gdb
2001-11-26 15:01 ` gdb
2001-11-14 18:23 ` gdb
2001-11-26 12:32 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yr8oflo3fvu.fsf@d0sgibnl1.fnal.gov \
--to=snyder@fnal.gov \
--cc=gdb@sources.redhat.com \
--cc=gdb@thewrittenword.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox