Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <cagney@gnu.org>,
	gdb@sources.redhat.com, ankit thukral <ankit_plug@yahoo.com>
Subject: Re: [RFC] Addition of remote tracepoints to gdb / gdbserver.
Date: Thu, 01 Jan 2004 23:16:00 -0000	[thread overview]
Message-ID: <3FF4A97A.4010504@codito.com> (raw)
In-Reply-To: <20040101225507.GA14446@nevyn.them.org>

Daniel Jacobowitz wrote:

>On Fri, Jan 02, 2004 at 03:56:18AM +0530, Ramana Radhakrishnan wrote:
>  
>
>>Now the remote side would have to understand the target floating point 
>>format / collect the values for
>>the same and hence the actual computation would have to be target 
>>specific .2 options
>>a. do all calculations in gdbserver
>>b. collect all byte sequences and take care of it in gdb.
>>
>>Option b seems less expensive.
>>    
>>
>
>Yes, but sometimes it's not enough.  In the example I gave you'd have
>to do the memory reference at trace collection time.  But I don't
>think it's a real problem so option b is probably fine.
>  
>
It might be cheaper to take option b .,for FPU less architectures That 
could be another reason for sticking to option b.


Also regarding the AgentExpression code Generation problem that you 
mentioned in your earlier mail , the byte code generated for the 
following actions in the agent expressions is as
follows.

considering 2 globals i & j and we need to collect the value of i + j at 
some trace point.


trace someprogram point
collect i + j

code generated seems to be equivalent to the following


Aopconst32 &i
Aopref32
Aopconst32 &j
Aopref32
aopadd


(where aopconst32 )
and aopadd is addition .

which is consistent with the manual

cheers
Ramana



  reply	other threads:[~2004-01-01 23:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-01 21:33 Ramana Radhakrishnan
2004-01-01 21:47 ` Daniel Jacobowitz
2004-01-01 22:29   ` Ramana Radhakrishnan
2004-01-01 22:56     ` Daniel Jacobowitz
2004-01-01 23:16       ` Ramana Radhakrishnan [this message]
2004-01-03 19:47       ` Ramana Radhakrishnan

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=3FF4A97A.4010504@codito.com \
    --to=ramana.radhakrishnan@codito.com \
    --cc=ankit_plug@yahoo.com \
    --cc=cagney@gnu.org \
    --cc=drow@mvista.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