Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@red-bean.com>
To: Efim Monyak <efim@lipowsky.de>
Cc: gdb@sources.redhat.com
Subject: Re: debug crt0.s
Date: Thu, 08 Dec 2005 18:48:00 -0000	[thread overview]
Message-ID: <8f2776cb0512081048j2b026b64jcb3c8bafd60010d6@mail.gmail.com> (raw)
In-Reply-To: <4397F168.9020009@lipowsky.de>

On 12/8/05, Efim Monyak <efim@lipowsky.de> wrote:
>   Compilation Unit @ 6d:
>    Length:        92
>    Version:       2
>    Abbrev Offset: 20
>    Pointer Size:  4
>  <0><78>: Abbrev Number: 1 (DW_TAG_compile_unit)
>      DW_AT_stmt_list   : 0x46
>      DW_AT_name        : ../src/crt0.s
>      DW_AT_comp_dir    : /cygdrive/c/embedded/arm/workspace/functest/Debug
>      DW_AT_producer    : GNU AS 2.16.1
>      DW_AT_language    : 32769  (MIPS assembler)
>   Compilation Unit @ cd: ...

This is interesting.  This is the debugging information for crt0.s. 
It points to the right place in the .debug_line section, but it
doesn't have DW_AT_low_pc and DW_AT_high_pc attributes like the other
compilation units.

What do you get when you run 'readelf -wil' on crt0.o itself?  The
addresses will be meaningless because they haven't been relocated, but
we should be able to see the rest of the information.


      reply	other threads:[~2005-12-08 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 15:06 Efim Monjak
2005-12-07  0:38 ` Jim Blandy
2005-12-07  9:10   ` Efim Monyak
2005-12-07 17:29     ` Jim Blandy
2005-12-07 17:55       ` Efim Monyak
2005-12-07 18:57         ` Jim Blandy
2005-12-08  8:40           ` Efim Monyak
2005-12-08 18:48             ` Jim Blandy [this message]

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=8f2776cb0512081048j2b026b64jcb3c8bafd60010d6@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=efim@lipowsky.de \
    --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