X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Thu, 16 May 2002 21:53:46 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: lauras AT softhome DOT net Message-Id: <3759-Thu16May2002215345+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <857491702.20020516185704@softhome.net> (message from Laurynas Biveinis on Thu, 16 May 2002 18:57:04 +0100) Subject: Re: emacs under w2k References: <1997943472 DOT 20020514191357 AT softhome DOT net> <6480-Tue14May2002211843+0300-eliz AT is DOT elta DOT co DOT il> <18721621770 DOT 20020514230156 AT softhome DOT net> <2225079923 DOT 20020515154129 AT softhome DOT net> <3028-Wed15May2002192132+0300-eliz AT is DOT elta DOT co DOT il> <857491702 DOT 20020516185704 AT softhome DOT net> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 16 May 2002 18:57:04 +0100 > From: Laurynas Biveinis > > Seems like sbrk(): > > -------8<----- > --DD\---F1 *scratch* (Lisp Interaction)--L5--All----------------------- > M-x tetris > Breakpoint 2, __default_morecore (increment=122880) at gmalloc.c:1575 > 1575 __ptr_t result = (__ptr_t) __sbrk (increment); > (gdb) s > > D:\devel\djgpp\gnu\emacs\src> > -------8<----- > > Uhm... what now? I'd use `stepi' to step by machine instructions, and see which one explodes. Here's a suggestion: (gdb) display/i $pc (gdp) stepi Thereafter just hit Enter repeatedly, and GDB will step one instruction at a time, displaying each one before it is executed. The last instruction that's displayed before the session dies is the one where it happens.