public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Brian Ford <ford@vss.fsi.com>
To: gdb@sources.redhat.com
Subject: Re: DWARF2 PE/COFF port and parsing ?
Date: Tue, 20 May 2003 23:09:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.44.0305201808110.22269-100000@eos> (raw)
In-Reply-To: <Pine.GSO.4.44.0305201745440.22269-100000@eos>

Sorry.  Somehow this missed the list and went straight to David.

On Tue, 20 May 2003, Brian Ford wrote:

> On 20 May 2003, David Carlton wrote:
>
> > On Tue, 20 May 2003 17:05:26 -0500 (CDT), Brian Ford <ford@vss.fsi.com> said:
> >
> > > (gdb) p *pst
> > > $1 = {next = 0x1052a018, filename = 0x1052a0e8 "../../gcc/gcc/libgcc2.c",
> > >   fullname = 0x0, objfile = 0x10148238, section_offsets = 0x1014e440,
> > >   textlow = 4922848, texthigh = 4922848, dependencies = 0x1052a118,
> > >   number_of_dependencies = 4, globals_offset = 1151, n_global_syms = 2,
> > >   statics_offset = 24280, n_static_syms = 21, symtab = 0x0,
> > >   read_symtab = 0x4f1170 <dbx_psymtab_to_symtab>,
> > >   read_symtab_private = 0x1052a100 "D\030\031", readin = 0 '\0'}
> >
> > Hmm.  It doesn't look too strange to me.  Are the libraries that GCC
> > builds being compiled using your DWARF 2 in PE/COFF mechanisms?  If
> > not, is there any way you can think of that that would cause problems?
> >
> No, it must be a case of corruption as they are still in stabs.
>
> Here is my object's pst at dwarf2read.c:1354:
>
> (top-gdb) p *pst
> $1 = {next = 0x1052a4e0,
>   filename = 0x105039d8 "../../../visual/vital/buf_init/bufs.c",
>   fullname = 0x0, objfile = 0x10148540, section_offsets = 0x1014e748,
>   textlow = 0, texthigh = 0, dependencies = 0x0, number_of_dependencies =
> 0,
>   globals_offset = 0, n_global_syms = 42, statics_offset = 0,
>   n_static_syms = 420, symtab = 0x0,
>   read_symtab = 0x542d40 <dwarf2_psymtab_to_symtab>,
>   read_symtab_private = 0x10503a00 " ¸R\020", readin = 0 '\0'}
>
> The one that appears corrupt is *pst->next->next:
>
> (top-gdb) p *pst->next
> $4 = {next = 0x1052a460, filename = 0x1052a528
> "../../gcc/gcc/gbl-ctors.h",
>   fullname = 0x0, objfile = 0x10148540, section_offsets = 0x1014e748,
>   textlow = 0, texthigh = 0, dependencies = 0x1052a560,
>   number_of_dependencies = 1, globals_offset = 0, n_global_syms = 0,
>   statics_offset = 0, n_static_syms = 0, symtab = 0x0,
>   read_symtab = 0x4f1170 <dbx_psymtab_to_symtab>,
>   read_symtab_private = 0x1052a548 "", readin = 0 '\0'}
> (top-gdb) p *pst->next->next
> $5 = {next = 0x1052a3d8, filename = 0x1052a4a8 "../../gcc/gcc/libgcc2.c",
>   fullname = 0x0, objfile = 0x10148540, section_offsets = 0x1014e748,
>   textlow = 0, texthigh = 0, dependencies = 0x1052a4d8,
>   number_of_dependencies = 1, globals_offset = 0, n_global_syms = 0,
>   statics_offset = 0, n_static_syms = 0, symtab = 0x0,
>   read_symtab = 0x4f1170 <dbx_psymtab_to_symtab>,
>   read_symtab_private = 0x1052a4c0 "", readin = 0 '\0'}
>

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

       reply	other threads:[~2003-05-20 23:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.44.0305201745440.22269-100000@eos>
2003-05-20 23:09 ` Brian Ford [this message]
     [not found] <vt2el2st5tj.fsf@zenia.red-bean.com>
2003-05-21 21:11 ` Brian Ford
2003-05-20 21:15 Brian Ford
2003-05-20 21:34 ` David Carlton
2003-05-20 21:57   ` Brian Ford
2003-05-20 22:05     ` Brian Ford
2003-05-20 22:45       ` David Carlton
2003-05-20 22:17     ` David Carlton

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=Pine.GSO.4.44.0305201808110.22269-100000@eos \
    --to=ford@vss.fsi.com \
    --cc=gdb@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).