Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: tmohr@s.netic.de
Cc: gdb@sourceware.org
Subject: Re: use LMA instead of VMA?
Date: Sat, 10 Jun 2006 23:42:00 -0000	[thread overview]
Message-ID: <200606102104.k5AL4Mcc028893@greed.delorie.com> (raw)
In-Reply-To: <200606101707.58539.tmohr@s.netic.de> (message from Torsten Mohr 	on Sat, 10 Jun 2006 17:07:58 +0200)


> i'd like to test my startup code in crt0.S but have some problems
> with that as gdb uses the sections VMA instead of the LMA.

Why would this confuse gdb?  If the crt0 code is *running* it should
already be at its VMA.  In the cases where LMA and VMA differ in my
projects, it's because I need to initialize RAM from ROM, so I don't
need gdb to know about the data until after I've moved it to its VMA.

Maybe you need to tell us more about how your code is set up?


  reply	other threads:[~2006-06-10 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-10 21:04 Torsten Mohr
2006-06-10 23:42 ` DJ Delorie [this message]
2006-06-10 23:47   ` Torsten Mohr
2006-06-13  5:03     ` DJ Delorie
2006-06-11  0:20   ` Daniel Jacobowitz

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=200606102104.k5AL4Mcc028893@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=tmohr@s.netic.de \
    /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