* [gdb] Z-packet on 7.2
@ 2011-02-09 17:22 Salvatore Lionetti
2011-02-09 17:54 ` Michael Snyder
0 siblings, 1 reply; 3+ messages in thread
From: Salvatore Lionetti @ 2011-02-09 17:22 UTC (permalink / raw)
To: gdb
Hi,
From gdb command line i issue the command:
(gdb) set remote Z-packet on
And on target i see onlu 'm3cb08,4' packet and no more.
Actually memory reading is forced to return 0, since accessing to some memory region cause problem to the target server.
What command should i give to force the usage of 'Z-packet'?
If no, where i should indicates the support of such packets?
Have a good day
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gdb] Z-packet on 7.2
2011-02-09 17:22 [gdb] Z-packet on 7.2 Salvatore Lionetti
@ 2011-02-09 17:54 ` Michael Snyder
2011-02-10 11:12 ` Salvatore Lionetti
0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2011-02-09 17:54 UTC (permalink / raw)
To: Salvatore Lionetti; +Cc: gdb
Salvatore Lionetti wrote:
> Hi,
>
> From gdb command line i issue the command:
> (gdb) set remote Z-packet on
>
> And on target i see onlu 'm3cb08,4' packet and no more.
> Actually memory reading is forced to return 0, since accessing to some memory region cause problem to the target server.
>
> What command should i give to force the usage of 'Z-packet'?
> If no, where i should indicates the support of such packets?
>
> Have a good day
>
>
>
>
You're using the right command.
You won't expect any actual Z-packets to be sent until you continue or step.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gdb] Z-packet on 7.2
2011-02-09 17:54 ` Michael Snyder
@ 2011-02-10 11:12 ` Salvatore Lionetti
0 siblings, 0 replies; 3+ messages in thread
From: Salvatore Lionetti @ 2011-02-10 11:12 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
Many thanks for the correct answer.
In the meanwhile i've learned about the powerful command
(gdb) maintenance packet 'Z0,0x...'
Have a good day
--- Mer 9/2/11, Michael Snyder <msnyder@vmware.com> ha scritto:
> Da: Michael Snyder <msnyder@vmware.com>
> Oggetto: Re: [gdb] Z-packet on 7.2
> A: "Salvatore Lionetti" <salvatorelionetti@yahoo.it>
> Cc: "gdb@sourceware.org" <gdb@sourceware.org>
> Data: Mercoledì 9 febbraio 2011, 18:54
> Salvatore Lionetti wrote:
> > Hi,
> >
> > From gdb command line i issue the command:
> > (gdb) set remote Z-packet on
> >
> > And on target i see onlu 'm3cb08,4' packet and no
> more.
> > Actually memory reading is forced to return 0, since
> accessing to some memory region cause problem to the target
> server.
> >
> > What command should i give to force the usage of
> 'Z-packet'?
> > If no, where i should indicates the support of such
> packets?
> >
> > Have a good day
> >
> >
> >
> >
>
> You're using the right command.
>
> You won't expect any actual Z-packets to be sent until you
> continue or step.
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-10 11:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 17:22 [gdb] Z-packet on 7.2 Salvatore Lionetti
2011-02-09 17:54 ` Michael Snyder
2011-02-10 11:12 ` Salvatore Lionetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox