Date: Thu, 26 Apr 2001 19:41:33 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Hans-Bernhard Broeker Message-Id: <2561-Thu26Apr2001194132+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Hans-Bernhard Broeker on Thu, 26 Apr 2001 14:30:45 +0200 (MET DST)) Subject: Re: sbrk() storing the size of memory blocks References: 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, 26 Apr 2001 14:30:45 +0200 (MET DST) > From: Hans-Bernhard Broeker > > A side remark: Debugging is a bit hard in this area, since gdb doesn't > know what the type __djgpp_memory_handle_list is. Probably because the > actual variable is defined in an assembly module, without any type > information. Couldn't we move the definition into some C module, and let > the asm just reference it? I guess we could move __djgpp_memory_handle_list out of assembly, but are you really sure this will help? I thought the problem was that it is defined in the library, which lacks sufficient debug info, not because it's defined in assembly. You could always cast the references with the appropriate type, of course. It's a bit cumbersome, but if you use the GDB scripting language, you could go through that just once. Thanks for working on this.