From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: filerz-emacs@yahoo.com Newsgroups: gmane.emacs.devel Subject: Re: GDB debugger mode for Emacs in ELPA Date: Thu, 26 Jun 2008 09:15:00 +0530 (IST) Message-ID: <181896.49649.qm@web95014.mail.in2.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1214451919 11147 80.91.229.12 (26 Jun 2008 03:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2008 03:45:19 +0000 (UTC) To: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 26 05:46:04 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KBiQt-00045F-V1 for ged-emacs-devel@m.gmane.org; Thu, 26 Jun 2008 05:46:04 +0200 Original-Received: from localhost ([127.0.0.1]:38338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBiQ4-0007ZP-7M for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 23:45:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBiPz-0007Yz-Ky for emacs-devel@gnu.org; Wed, 25 Jun 2008 23:45:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBiPx-0007Yb-Ev for emacs-devel@gnu.org; Wed, 25 Jun 2008 23:45:06 -0400 Original-Received: from [199.232.76.173] (port=36097 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBiPx-0007YY-9i for emacs-devel@gnu.org; Wed, 25 Jun 2008 23:45:05 -0400 Original-Received: from n3a.bullet.tw1.yahoo.com ([119.160.244.190]:25869) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KBiPw-00021k-8s for emacs-devel@gnu.org; Wed, 25 Jun 2008 23:45:05 -0400 Original-Received: from [119.160.244.76] by n3.bullet.tw1.yahoo.com with NNFMP; 26 Jun 2008 03:45:02 -0000 Original-Received: from [202.43.196.225] by t1.bullet.tw1.yahoo.com with NNFMP; 26 Jun 2008 03:45:01 -0000 Original-Received: from [203.212.168.60] by t2.bullet.tpe.yahoo.com with NNFMP; 26 Jun 2008 03:45:01 -0000 Original-Received: from [203.104.18.44] by t1.bullet.kr1.yahoo.com with NNFMP; 26 Jun 2008 03:45:01 -0000 Original-Received: from [127.0.0.1] by omp108.mail.in2.yahoo.com with NNFMP; 26 Jun 2008 03:45:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 353727.6783.bm@omp108.mail.in2.yahoo.com Original-Received: (qmail 50922 invoked by uid 60001); 26 Jun 2008 03:45:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=hQ9X8+34vc3IfyWNMF+K4gmB/GtgdI3sZwlkC3bWEfmVbfcS/i8SQmZQNByBluay8RlZXJQAa0o9SuVKwRElWJRTuUFmzbFXN6vQ10u2BdSow0Knf5C/AmL4kSiORL7z9XmtKJ20LunqHbLEqoKlIu9OW7feNQCevaofJuM+FEE=; Original-Received: from [202.3.112.9] by web95014.mail.in2.yahoo.com via HTTP; Thu, 26 Jun 2008 09:15:00 IST X-Mailer: YahooMailRC/975.49 YahooMailWebService/0.7.199 X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99951 Archived-At: Hello,=0A=0A----- Original Message ----=0A> From: Nick Roberts =0A> To: emacs-devel@gnu.org=0A> Sent: Thursday, 26 June, 2008 6:3= 3:01 AM=0A> Subject: GDB debugger mode for Emacs in ELPA=0A> =0A> =0A> It w= ould be helpful if others could test/develop it.=0A=0AI started off the pro= cess of installing ELPA, it was real nice and simple. I then tried installi= ng gdb-mi package started getting a repeatable crash in emacs. The crash is= happening in some ralloc.c. The initial downloading works, I feel it is in= extracting the archive and manipulating it in emacs that is causing the pr= oblem. Let me try the same with a MinGW build.=0A=0AI am using Emacs from G= IT HEAD on M$-XP build using VS 2003 with image support.=0A=0AStack trace f= ollows:=0A=0A ntdll.dll!7c901230() =0A> emacs.exe!w32_abort() L= ine 8194 C=0A emacs.exe!r_re_alloc() Line 1030 C=0A emacs.ex= e!enlarge_buffer_text(buffer * b=3D0x015c3400, int delta=3D2199) Line 5051= + 0x9 C=0A emacs.exe!make_gap_larger() Line 529 C=0A emacs.= exe!make_gap(int nbytes_added=3D199) Line 623 C=0A emacs.exe!insert= _from_string_1(int string=3D1630546000, int pos=3D0, int pos_byte=3D0, int = nchars=3D219, int nbytes=3D219, int inherit=3D0, int before_markers=3D0) L= ine 1107 + 0xa C=0A emacs.exe!insert_from_string(int string=3D163054= 6000, int pos=3D0, int pos_byte=3D0, int length=3D219, int length_byte=3D21= 9, int inherit=3D0) Line 1050 C=0A emacs.exe!general_insert_functio= n(void (const unsigned char *, int)* insert_func=3D0x010beb2c, void (int, i= nt, int, int, int, int)* insert_from_string_func=3D0x010bed58, int inherit= =3D0, int nargs=3D2, int * args=3D0x0082ec5c) Line 2183 + 0x1f C=0A = emacs.exe!Finsert(int nargs=3D2, int * args=3D0x0082ec5c) Line 2225 C= =0A emacs.exe!Fbyte_code(int bytestr=3D26195720, int vector=3D-21212879= 36, int maxdepth=3D6) Line 1267 C=0A emacs.exe!funcall_lambda(int f= un=3D-2120005600, int nargs=3D0, int * arg_vector=3D0x0082ed30) Line 3231 = + 0xe C=0A emacs.exe!Ffuncall(int nargs=3D0, int * args=3D0x217d5f00= ) Line 3088 + 0xc C=0A emacs.exe!Fbyte_code(int bytestr=3D27412488,= int vector=3D-2120071168, int maxdepth=3D5) Line 680 C=0A emacs.ex= e!funcall_lambda(int fun=3D-2120131232, int nargs=3D0, int * arg_vector=3D0= x0082edb4) Line 3231 + 0xe C=0A emacs.exe!apply_lambda(int fun=3D-2= 120131232, int args=3D556704768, int eval_flag=3D1) Line 3156 C=0A = emacs.exe!Feval(int form=3D-1576242512) Line 2415 + 0xb C=0A emacs.= exe!Fprogn(int args=3D-1576242504) Line 450 C=0A emacs.exe!Feval(in= t form=3D-1576242504) Line 2374 C=0A emacs.exe!Fif(int args=3D-1576= 242320) Line 397 + 0x16 C=0A emacs.exe!Feval(int form=3D-1576242320= ) Line 2374 C=0A emacs.exe!Fprogn(int args=3D-1576241776) Line 450= C=0A emacs.exe!funcall_lambda(int fun=3D-1576244032, int nargs=3D0,= int * arg_vector=3D0x0082ef70) Line 3222 + 0xf C=0A emacs.exe!appl= y_lambda(int fun=3D-1576244032, int args=3D556704768, int eval_flag=3D1) L= ine 3156 C=0A emacs.exe!Feval(int form=3D-1576246440) Line 2415 + 0= xb C=0A emacs.exe!Fprogn(int args=3D-1576246480) Line 450 C=0A = emacs.exe!FletX(int args=3D-1576246432) Line 1034 C=0A emacs.exe= !Feval(int form=3D-1576246432) Line 2374 C=0A emacs.exe!Fprogn(int = args=3D-1576245400) Line 450 C=0A emacs.exe!Flet(int args=3D-157624= 5368) Line 1090 C=0A emacs.exe!Feval(int form=3D-1576245368) Line = 2374 C=0A emacs.exe!Fprogn(int args=3D-1576246992) Line 450 C=0A= emacs.exe!funcall_lambda(int fun=3D-1576247008, int nargs=3D2, int * a= rg_vector=3D0x0082f174) Line 3222 + 0xf C=0A emacs.exe!apply_lambda= (int fun=3D-1576247008, int args=3D556704768, int eval_flag=3D1) Line 3156= C=0A emacs.exe!Feval(int form=3D-1576228544) Line 2415 + 0xb C= =0A emacs.exe!Fprogn(int args=3D-1576228392) Line 450 C=0A emac= s.exe!Fsave_excursion(int args=3D-1576228392) Line 1004 C=0A emacs.= exe!Feval(int form=3D-1576228392) Line 2374 C=0A emacs.exe!Fprogn(i= nt args=3D-1576228608) Line 450 C=0A emacs.exe!Flet(int args=3D-157= 6228344) Line 1090 C=0A emacs.exe!Feval(int form=3D-1576228344) Li= ne 2374 C=0A emacs.exe!Fprogn(int args=3D-1576226088) Line 450 C= =0A emacs.exe!funcall_lambda(int fun=3D-1576228624, int nargs=3D2, int = * arg_vector=3D0x0082f380) Line 3222 + 0xf C=0A emacs.exe!apply_lam= bda(int fun=3D-1576228624, int args=3D556704768, int eval_flag=3D1) Line 3= 156 C=0A emacs.exe!Feval(int form=3D-1576169376) Line 2415 + 0xb = C=0A emacs.exe!Fprogn(int args=3D-1576169440) Line 450 C=0A em= acs.exe!Fcond(int args=3D-1576169448) Line 426 + 0x6 C=0A emacs.exe= !Feval(int form=3D-1576169448) Line 2374 C=0A emacs.exe!Fprogn(int = args=3D-1576170856) Line 450 C=0A emacs.exe!FletX(int args=3D-15761= 69088) Line 1034 C=0A emacs.exe!Feval(int form=3D-1576169088) Line= 2374 C=0A emacs.exe!Fprogn(int args=3D-1575967544) Line 450 C= =0A emacs.exe!funcall_lambda(int fun=3D-1575967560, int nargs=3D1, int = * arg_vector=3D0x0082f5c0) Line 3222 + 0xf C=0A emacs.exe!Ffuncall(= int nargs=3D1, int * args=3D0xa210a4b8) Line 3088 + 0xc C=0A emacs.= exe!call1(int fn=3D-1575967560, int arg1=3D561570368) Line 2823 + 0xb C= =0A emacs.exe!mapcar1() Line 2473 + 0xc C=0A emacs.exe!Fmapc(in= t function=3D-1575967560, int sequence=3D-1575967536) Line 2565 + 0xd C= =0A emacs.exe!Feval(int form=3D556704768) Line 2377 C=0A emacs.= exe!Fprogn(int args=3D-1576168328) Line 450 C=0A emacs.exe!funcall_= lambda(int fun=3D-1576170952, int nargs=3D1, int * arg_vector=3D0x0082f6c0)= Line 3222 + 0xf C=0A emacs.exe!apply_lambda(int fun=3D-1576170952,= int args=3D556704768, int eval_flag=3D1) Line 3156 C=0A emacs.exe!= Feval(int form=3D-1576172688) Line 2415 + 0xb C=0A emacs.exe!Fprogn= (int args=3D-1576136576) Line 450 C=0A emacs.exe!Flet(int args=3D-1= 576172640) Line 1090 C=0A emacs.exe!Feval(int form=3D-1576172640) = Line 2374 C=0A emacs.exe!Fprogn(int args=3D-1576172144) Line 450 = C=0A emacs.exe!Flet(int args=3D-1576171816) Line 1090 C=0A ema= cs.exe!Feval(int form=3D-1576171816) Line 2374 C=0A emacs.exe!Fprog= n(int args=3D-1576171032) Line 450 C=0A emacs.exe!funcall_lambda(in= t fun=3D-1576136616, int nargs=3D1, int * arg_vector=3D0x0082f948) Line 32= 22 + 0xf C=0A emacs.exe!Ffuncall(int nargs=3D1, int * args=3D0x21349= a10) Line 3088 + 0xc C=0A emacs.exe!Fapply(int nargs=3D2, int * arg= s=3D0x0082f944) Line 2530 + 0x9 C=0A emacs.exe!apply1(int fn=3D5570= 95440, int arg=3D-1575966624) Line 2791 + 0xe C=0A emacs.exe!Fcall_= interactively(int function=3D557095440, int record_flag=3D556704816, int ke= ys=3D-1575966632) Line 389 + 0xb C=0A emacs.exe!Ffuncall(int nargs= =3D3, int * args=3D0x21325000) Line 3050 C=0A emacs.exe!call3(int f= n=3D556945408, int arg1=3D557095440, int arg2=3D556704816, int arg3=3D55670= 4768) Line 2868 + 0xb C=0A emacs.exe!Fcommand_execute(int cmd=3D557= 095440, int record_flag=3D556704816, int keys=3D556704768, int special=3D55= 6704768) Line 10434 + 0x14 C=0A emacs.exe!Fexecute_extended_command= (int prefixarg=3D556704768) Line 10547 + 0xe C=0A emacs.exe!Ffuncal= l(int nargs=3D1, int * args=3D0x21303e58) Line 3043 C=0A emacs.exe!= Fcall_interactively(int function=3D556809816, int record_flag=3D556704768, = int keys=3D0) Line 859 C=0A emacs.exe!Ffuncall(int nargs=3D3, int *= args=3D0x21325000) Line 3050 C=0A emacs.exe!call3(int fn=3D5569454= 08, int arg1=3D556809816, int arg2=3D556704768, int arg3=3D556704768) Line= 2868 + 0xb C=0A emacs.exe!Fcommand_execute(int cmd=3D556809816, int= record_flag=3D556704768, int keys=3D556704768, int special=3D556704768) L= ine 10434 + 0x14 C=0A emacs.exe!command_loop_1() Line 1918 C=0A = emacs.exe!internal_condition_case(int (void)* bfun=3D0x01062b3e, int ha= ndlers=3D556817624, int (void)* hfun=3D0x0105ebfd) Line 1512 C=0A e= macs.exe!command_loop_2() Line 1367 + 0x15 C=0A emacs.exe!internal_= catch(int tag=3D556809600, int (void)* func=3D0x01063ab1, int arg=3D5567047= 68) Line 1247 + 0x6 C=0A emacs.exe!command_loop() Line 1347 C= =0A emacs.exe!recursive_edit_1() Line 955 + 0x5 C=0A emacs.exe!= Frecursive_edit() Line 1018 C=0A emacs.exe!main() Line 1772 + 0x5 = C=0A emacs.exe!mainCRTStartup() Line 259 + 0x12 C=0A kernel3= 2.dll!7c816fd7() =0A=0A-dky=0A=0A=0A=0A Bring your gang together. = Do your thing. Find your favourite Yahoo! group at http://in.promos.yahoo.c= om/groups/