public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [BUG/tracepoint] agent code generate error when set a var of inferior to tv
@ 2011-07-04  5:38 Hui Zhu
  2011-07-06 20:59 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Hui Zhu @ 2011-07-04  5:38 UTC (permalink / raw)
  To: gdb

teval $tmp=a
a is a var of inferior.

The agent code that I got is:
2d000b
260003
1620
27

https://code.google.com/p/kgtp/issues/detail?id=71

Thanks,
Hui

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG/tracepoint] agent code generate error when set a var of inferior to tv
  2011-07-04  5:38 [BUG/tracepoint] agent code generate error when set a var of inferior to tv Hui Zhu
@ 2011-07-06 20:59 ` Tom Tromey
  2011-08-09  9:08   ` Hui Zhu
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2011-07-06 20:59 UTC (permalink / raw)
  To: Hui Zhu; +Cc: gdb

>>>>> ">" == Hui Zhu <teawater@gmail.com> writes:

>> teval $tmp=a
>> a is a var of inferior.
>> The agent code that I got is:
>> 2d000b
>> 260003
>> 1620
>> 27

I'm afraid I don't understand this report.
Could you provide more details?
Some source code might be helpful; or perhaps disassembly of the agent
expression.

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG/tracepoint] agent code generate error when set a var of inferior to tv
  2011-07-06 20:59 ` Tom Tromey
@ 2011-08-09  9:08   ` Hui Zhu
  0 siblings, 0 replies; 3+ messages in thread
From: Hui Zhu @ 2011-08-09  9:08 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb

I think I find a way to handle this issue.
Change it to:
teval $tmp=(uint64_t)a
Looks like it handle type convert is not very good.  Wish somebody can
add a doc or fix it.

I will update the doc of KGTP.

Thanks,
Hui

On Thu, Jul 7, 2011 at 04:58, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> ">" == Hui Zhu <teawater@gmail.com> writes:
>
>>> teval $tmp=a
>>> a is a var of inferior.
>>> The agent code that I got is:
>>> 2d000b
>>> 260003
>>> 1620
>>> 27
>
> I'm afraid I don't understand this report.
> Could you provide more details?
> Some source code might be helpful; or perhaps disassembly of the agent
> expression.
>
> Tom
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-09  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-04  5:38 [BUG/tracepoint] agent code generate error when set a var of inferior to tv Hui Zhu
2011-07-06 20:59 ` Tom Tromey
2011-08-09  9:08   ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).