Mail Archives: cygwin/2002/06/18/13:22:50
--Boundary_(ID_AzJJ9cEooNd0VVINbcYZeg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
Nicholas,
On Tue, Jun 18, 2002 at 09:09:10AM -0700, Nicholas Wourms wrote:
> --- Jason Tishler <jason AT tishler DOT net> wrote:
> > pathname is null terminated -- this is good. Is it null terminated for
> > *all* DLLs?
>
> I'm going to have to start printing the arguments one by one as I step
> through the execution, because it crashes before it can do the next loop.
> So in effect, the other dlls aren't being processed yet.
Hmm... I just noticed that maybe the SymbolPath argument should be ""
(i.e., the empty string) and not 0 (i.e., the null pointer). Please try
the attached patch. Does this fix rebase for you?
Thanks,
Jason
--Boundary_(ID_AzJJ9cEooNd0VVINbcYZeg)
Content-type: text/plain; charset=us-ascii; NAME=rebase.c.diff
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=rebase.c.diff
--- rebase.c 2002/05/10 12:00:54 1.5
+++ rebase.c 2002/06/18 17:01:06
@@ -56,7 +56,7 @@ main (int argc, char *argv[])
get_pathname (argv[i], pathname, sizeof (pathname));
prev_new_image_base = new_image_base;
aStatus = ReBaseImage (pathname, /* CurrentImageName */
- 0, /* SymbolPath */
+ "", /* SymbolPath */
TRUE, /* fReBase */
FALSE, /* fRebaseSysfileOk */
down_flag, /* fGoingDown */
--Boundary_(ID_AzJJ9cEooNd0VVINbcYZeg)
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--Boundary_(ID_AzJJ9cEooNd0VVINbcYZeg)--
- Raw text -