From: Stanislav S. <stl...@gm...> - 2011-05-02 18:17:36
|
If you don't need GUI you can just disable it on configure using --disable-debugger-gui. Stanislav On Mon, May 2, 2011 at 8:53 PM, bifferos <bif...@ya...> wrote: > > OK, that makes it get further, now I've got: > > gui/libgui.a(gtk_enh_dbg_osdep.o): In function `MakeGTKthreads()': > /home/biff/bochs/svn/gui/gtk_enh_dbg_osdep.cc:2110: undefined reference to > `pthread_create' > collect2: ld returned 1 exit status > make: *** [bochs] Error 1 > > I don't want any GUI, actually all I wanted to check was what Bochs thinks > the GDT is. I wasn't quite sure how to interpret this lot: > > 00218671538e[CPU0 ] load_seg_reg(DS, 0x000f): invalid segment > 00218671538e[CPU0 ] interrupt(): not accessible or not code segment > cs=0x0008 > 00218671538e[CPU0 ] interrupt(): not accessible or not code segment > cs=0x0008 > 00218671538i[CPU0 ] CPU is in protected mode (active) > 00218671538i[CPU0 ] CS.d_b = 32 bit > 00218671538i[CPU0 ] SS.d_b = 32 bit > 00218671538i[CPU0 ] | EAX=0000000f EBX=00000000 ECX=00032fd3 > EDX=002c2500 > 00218671538i[CPU0 ] | ESP=002c7740 EBP=00100000 ESI=00090000 > EDI=002c7768 > 00218671538i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf SF zf af pf > cf > 00218671538i[CPU0 ] | SEG selector base limit G D > 00218671538i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D > 00218671538i[CPU0 ] | CS:0010( 0002| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | DS:0018( 0003| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | SS:0018( 0003| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | ES:0018( 0003| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | FS:0018( 0003| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | GS:0018( 0003| 0| 0) 00000000 ffffffff 1 1 > 00218671538i[CPU0 ] | EIP=00100010 (00100010) > 00218671538i[CPU0 ] | CR0=0x7ffffff1 CR2=0x00000000 CR3=0x00000000 > > thanks, > Biff. > > > --- On *Mon, 2/5/11, Stanislav Shwartsman <stl...@gm...>* wrote: > > > From: Stanislav Shwartsman <stl...@gm...> > Subject: Re: [Bochs-developers] Enabling the debugger > To: "bifferos" <bif...@ya...> > Cc: boc...@li... > Date: Monday, 2 May, 2011, 18:21 > > > You could just try to remove lexer.c, parser.c, parser.h and recompile. For > me it compiles, I have the same lex version as you. > The autogenerated files were not up-to-date after AVX support commit. > I pushed the new files right now. > > Stanislav > > On Mon, May 2, 2011 at 7:49 PM, bifferos <bif...@ya...<http://mc/compose?to=bif...@ya...> > > wrote: > > > How do I do this? > > I tried: > ./configure --enable-debugger --enable-disasm > > as it says in the docs, but I get a compilation error: > > lexer.l: In function 'bxlex': > lexer.l:82: error: 'BX_TOKEN_AVX' undeclared (first use in this function) > lexer.l:82: error: (Each undeclared identifier is reported only once > lexer.l:82: error: for each function it appears in.) > > Is there some trick to this? Do I need some other options as well? (Tried > SVN from today). I have Flex 2.5.35. > > thanks, > Biff. > > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > bochs-developers mailing list > boc...@li...<http://mc/compose?to=boc...@li...> > https://lists.sourceforge.net/lists/listinfo/bochs-developers > > > |