Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: paawan oza <paawan1982@yahoo.com>
To: Hui Zhu <teawater@gmail.com>
Cc: Thiago Jung Bauermann <bauerman@br.ibm.com>,
	gdb ml <gdb@sourceware.org>,
	  Pedro Alves <pedro@codesourcery.com>,
	  Marc Khouzam <marc.khouzam@ericsson.com>,
	  Michael Snyder <msnyder@vmware.com>,
	Eli Zaretskii <eliz@gnu.org>,
	  Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: MMX and floating point insn suport for reversible debugging
Date: Sun, 10 May 2009 06:40:00 -0000	[thread overview]
Message-ID: <602205.76976.qm@web36205.mail.mud.yahoo.com> (raw)


I think, 
record_arch_list_add_reg (ir.regcache, I386_ST0_REGNUM) will be sufficient 
to fetch all floating point registers.
no need to update the structure.
Regards,
Oza.


--- On Sun, 5/10/09, paawan oza <paawan1982@yahoo.com> wrote:

> From: paawan oza <paawan1982@yahoo.com>
> Subject: Re: MMX and floating point insn suport for reversible debugging
> To: "Hui Zhu" <teawater@gmail.com>
> Cc: "Thiago Jung Bauermann" <bauerman@br.ibm.com>, "gdb ml" <gdb@sourceware.org>, "Pedro Alves" <pedro@codesourcery.com>, "Marc Khouzam" <marc.khouzam@ericsson.com>, "Michael Snyder" <msnyder@vmware.com>, "Eli Zaretskii" <eliz@gnu.org>, "Mark Kettenis" <mark.kettenis@xs4all.nl>
> Date: Sunday, May 10, 2009, 12:07 PM
> 
> Hi Hui,
> 
> I think we need to update and add floating point in
> following structure
> for st1 to st7.
> 
> enum i386_regnum
> {
>   I386_EAX_REGNUM,   
>     /* %eax */
>   I386_ECX_REGNUM,   
>     /* %ecx */
>   I386_EDX_REGNUM,   
>     /* %edx */
>   I386_EBX_REGNUM,   
>     /* %ebx */
>   I386_ESP_REGNUM,   
>     /* %esp */
>   I386_EBP_REGNUM,   
>     /* %ebp */
>   I386_ESI_REGNUM,   
>     /* %esi */
>   I386_EDI_REGNUM,   
>     /* %edi */
>   I386_EIP_REGNUM,   
>     /* %eip */
>   I386_EFLAGS_REGNUM,   
>     /* %eflags */
>   I386_CS_REGNUM,       
> /* %cs */
>   I386_SS_REGNUM,       
> /* %ss */
>   I386_DS_REGNUM,       
> /* %ds */
>   I386_ES_REGNUM,       
> /* %es */
>   I386_FS_REGNUM,       
> /* %fs */
>   I386_GS_REGNUM,       
> /* %gs */
>   I386_ST0_REGNUM       
> /* %st(0) */
> };
> 
> what do you say ?
> 
> 
> Regards,
> Oza.
> 
> --- On Thu, 5/7/09, Hui Zhu <teawater@gmail.com>
> wrote:
> 
> > From: Hui Zhu <teawater@gmail.com>
> > Subject: Re: MMX and floating point insn suport for
> reversible debugging
> > To: "paawan oza" <paawan1982@yahoo.com>
> > Cc: "Thiago Jung Bauermann" <bauerman@br.ibm.com>,
> "gdb ml" <gdb@sourceware.org>,
> "Pedro Alves" <pedro@codesourcery.com>,
> "Marc Khouzam" <marc.khouzam@ericsson.com>,
> "Michael Snyder" <msnyder@vmware.com>,
> "Eli Zaretskii" <eliz@gnu.org>,
> "Mark Kettenis" <mark.kettenis@xs4all.nl>
> > Date: Thursday, May 7, 2009, 8:24 AM
> > On Thu, May 7, 2009 at 02:02, paawan
> > oza <paawan1982@yahoo.com>
> > wrote:
> > >
> > > Hi Hui,
> > >
> > > I have started understanding and working on
> point-1.
> > > I have some questions. please let me know my
> > understanding is correct ?
> > >
> > > 1) i386-tdep.c is the one which has been done
> for
> > record-replay. which basically takes care of
> disassembling
> > insns...
> > > but I see some code regarding MMX and x87FPU
> already
> > available.
> > > may I know exactly, what support is missing ?
> > >
> > 
> >     case 0x0f06:
> >       break;
> > 
> >       /* MMX/SSE/SSE2/PNI support */
> >       /* XXX */
> > 
> >     default:
> > 
> > Your mean is this part?
> > 
> > 
> > And I suggest you can begin with float point insn
> > first.  It doesn't
> > record float point reg change.
> > 
> > 
> > Thanks,
> > Hui
> > 
> 
> 
> 
> 




             reply	other threads:[~2009-05-10  6:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-10  6:40 paawan oza [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-10 13:45 paawan oza
2009-05-10  6:37 paawan oza
2009-05-10  8:39 ` Mark Kettenis
2009-05-09 14:45 paawan oza
2009-05-06 18:02 paawan oza
2009-05-07  2:54 ` Hui Zhu

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=602205.76976.qm@web36205.mail.mud.yahoo.com \
    --to=paawan1982@yahoo.com \
    --cc=bauerman@br.ibm.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    --cc=mark.kettenis@xs4all.nl \
    --cc=msnyder@vmware.com \
    --cc=pedro@codesourcery.com \
    --cc=teawater@gmail.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