delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/26/13:19:08

Date: Thu, 26 Apr 2001 19:41:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
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: <Pine.LNX.4.10.10104261414430.592-200000@acp3bf> (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: <Pine DOT LNX DOT 4 DOT 10 DOT 10104261414430 DOT 592-200000 AT acp3bf>
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

> Date: Thu, 26 Apr 2001 14:30:45 +0200 (MET DST)
> From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
> 
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019