delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/20/10:59:16

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-ID: <3C220BB0.3291C3EC@is.elta.co.il>
Date: Thu, 20 Dec 2001 18:02:56 +0200
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: RFC - Dynamic loading
References: <10112201441 DOT AA17346 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:
> 
> > What would this dynamic linking have for debugging the loaded code?
> 
> Symbols would not be available, as is today.

Today DXEs are not used for user code.  If we introduce a less restricted facility, this
will probably no longer be true, so users will need to debug dynamically-loaded code.

> Don't build it into a DXE until you've debugged it?

IMHO, that is not a very good alternative.  E.g., imagine a DLL written by someone else.

> The only potentially debuggable alternative I saw was to build on the
> XCOFF support for windows PE type DLLs

Why do we need special support for that?  Can't we use one of the GDB tricks, whereby it
sets a breakpoint in dlopen and waits until the library is actually loaded?

- Raw text -


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