Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Vinayak P Risbud <vinayak@multitech.co.in>
Cc: Ecos-Discuss <ecos-discuss@sources.redhat.com>,
	gdb <gdb@sources.redhat.com>
Subject: Re: gdb problem
Date: Wed, 25 Sep 2002 08:15:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0209250815470.1512-100000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <3D9193F3.8F4B92C6@multitech.co.in>

On Wed, 25 Sep 2002, Vinayak P Risbud wrote:

>                 16100 <cyg_start> mov...
>                 16104
>                 16108
>                 1610c   <cyg_start+12>
>                 16114   <cyg_start+20>
>                 16120   <cyg_start+32>
>                 16110   <cyg_start+16>
>                 16118   <cyg_start+24>
>                 1611c   <cyg_start+20>
> 
>             As you can see...the addresses are not linear...
>             Is it a problem ?  If yes...where exactly could be the
> problem ?

Looks like you might be debugging optimized code. It shouldn't be a 
problem, as long as you're aware of the consequences of debugging 
optimized code (for example, registers can be reused for multiple 
variables during the lifetime of a block).

If you're really concerned about it, recompile your application and 
libraries without -O (or -O2, -O3, ...).

Keith



  reply	other threads:[~2002-09-25 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-25  3:53 Vinayak P Risbud
2002-09-25  8:15 ` Keith Seitz [this message]
2013-11-16  8:46 Derek Guan

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.LNX.4.44.0209250815470.1512-100000@valrhona.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=vinayak@multitech.co.in \
    /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