Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoeTy-0007OD-OF for qemu-devel@nongnu.org; Wed, 23 Apr 2008 08:53:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoeTt-0007Hl-8X for qemu-devel@nongnu.org; Wed, 23 Apr 2008 08:53:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoeTs-0007HP-Ur for qemu-devel@nongnu.org; Wed, 23 Apr 2008 08:53:49 -0400 Received: from web57011.mail.re3.yahoo.com ([66.196.97.115]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JoeAu-0007Wq-Fg for qemu-devel@nongnu.org; Wed, 23 Apr 2008 08:34:12 -0400 Date: Wed, 23 Apr 2008 05:34:07 -0700 (PDT) From: "Balazs Attila-Mihaly \(Cd-MaN\)" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <527518.23522.qm@web57011.mail.re3.yahoo.com> Subject: [Qemu-devel] Compilation broken in SVN version and a debug register question Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu Devel Hello all.=0A=0AI fail to compile the version 4242 from the SVN (which I ch= ecked out ~1 hour ago). On an Ubuntu 7.10 host with gcc-3.4 and ./configure= --target-list=3Di386-softmmu, I get the following error:=0A=0Amake -C i386= -softmmu all=0Amake[1]: Entering directory `/home/cdman/qemu/trunk/i386-sof= tmmu'=0Agcc-3.4 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks -fn= o-gcse -fno-optimize-sibling-calls -fno-crossjumping -fno-align-labels= -fno-align-jumps -fno-align-functions -mpreferred-stack-boundary=3D2 -= fomit-frame-pointer -m32 -I. -I.. -I/home/cdman/qemu/trunk/target-i386 -I/= home/cdman/qemu/trunk -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BI= TS=3D64 -D_LARGEFILE_SOURCE -I/home/cdman/qemu/trunk/tcg -I/home/cdman/qemu= /trunk/tcg/i386 -I/home/cdman/qemu/trunk/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE= -I/home/cdman/qemu/trunk/slirp -c -o op.o /home/cdman/qemu/trunk/target-i3= 86/op.c=0A/home/cdman/qemu/trunk/target-i386/ops_sse.h: In function `op_psh= ufw_mmx':=0A/home/cdman/qemu/trunk/target-i386/ops_sse.h:597: error: unable= to find a register to spill in class `GENERAL_REGS'=0A/home/cdman/qemu/tru= nk/target-i386/ops_sse.h:597: error: this is the insn:=0A(insn:HI 18 17 19 = 0 /home/cdman/qemu/trunk/target-i386/ops_sse.h:592 (set (strict_low_part (s= ubreg:HI (reg/v:DI 58 [ r ]) 0))=0A (mem/s/j:HI (plus:SI (mult:SI (r= eg:SI 62)=0A (const_int 2 [0x2]))=0A (reg= /v/f:SI 60 [ s ])) [0 ._w S2 A16])) 54 {*movstricthi_1} (insn_lis= t 16 (insn_list 12 (insn_list 50 (nil))))=0A (expr_list:REG_DEAD (reg:SI= 62)=0A (nil)))=0A/home/cdman/qemu/trunk/target-i386/ops_sse.h:597: = confused by earlier errors, bailing out=0Amake[1]: *** [op.o] Error 1=0Amak= e[1]: Leaving directory `/home/cdman/qemu/trunk/i386-softmmu'=0Amake: *** [= subdir-i386-softmmu] Error 2=0A=0AIs this related to the recent discussion = about MMX/SSE instructions?=0A=0AAlso, I have a weird behaviour with qemu-0= .9.0 (I will test it against the SVN snapshot as soon as I can get it to co= mpile :)). The behavior is related to hardware breakpoints. I use a Linux h= ost and Windows XP guest and in the guest I use a user-mode debugger (Olly = - http://ollydbg.de/) to debug a program. Software breakpoints work ok, but= hardware breakpoints only work when I run __with__ kqemu (which is really = weird, since the usual response for all the problems is "try it without kqe= mu" :)). Is this a known limitation or a bug? Should the code which sets th= e debug registers be augmented to flush the TB cache and the dyngen code ch= anged to take into account the value of the debug registers (and raise an e= xception there)? But if this is the case, why does it work with kqemu enabl= ed?=0A=0AThank you in advance for your time spent answering my questions.= =0A=0ABest regards.=0A=0A=0A=0A=0A ___________________________________= _______________________=0ASent from Yahoo! Mail.=0AA Smarter Email http://u= k.docs.yahoo.com/nowyoucan.html