Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: ankit thukral <ankit_plug@yahoo.com>
Cc: gdb@sources.redhat.com
Subject: Re: about class LOC_COMPUTED_ARG
Date: Wed, 01 Oct 2003 14:49:00 -0000	[thread overview]
Message-ID: <20031001141310.GC3720@nevyn.them.org> (raw)
In-Reply-To: <20031001103543.22518.qmail@web60110.mail.yahoo.com>

On Wed, Oct 01, 2003 at 03:35:43AM -0700, ankit thukral wrote:
> hi all,    
>     this is about the address class of the symbols
> (arguments or local symbols) which is LOC_COMPUTED.for
> this class , the value of the symbol is calculated by
> calling some function called locexpr_read_variable()
> which is stored in as a function pointer as against
> the class LOC_BASEREG in which the location of the
> symbols is calculated using the "base register +
> offset" approach. 
> while debugging a process,i noticed that the argument
> of some function had the address class LOC_BASEREG_ARG
> while the same had LOC_COMPUTED_ARG in an older
> version and newer version of GDB respectively.can
> anyone tell me the reason for this shift i noticed? is
> the class LOC_BASEREG_ARG becoming deprecated or is it
> sort of buggy?
>   
> 
> 
> thanks in advance,

LOC_BASEREG_ARG was inadequate.  LOC_COMPUTED_ARG is a more powerful
mechanism, based on DWARF 2 location expressions.  Take a look at
http://www.eagercon.com/ if you want to find a copy of the
specification.

As I said in an earlier message, we don't have tracepoint support for
LOC_COMPUTED or LOC_COMPUTED_ARG - yet.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-10-01 14:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01  6:38 Breakpoints in ctor and gcc 3.x Cedric.Pillonel
2003-10-01  6:57 ` Jim Blandy
2003-10-01 10:35   ` about class LOC_COMPUTED_ARG ankit thukral
2003-10-01 14:49     ` Daniel Jacobowitz [this message]
2003-10-02  3:52       ` Jim Blandy
2003-10-01 14:48 ` Breakpoints in ctor and gcc 3.x 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=20031001141310.GC3720@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=ankit_plug@yahoo.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