www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/11/16:55:20

Message-Id: <199905112055.QAA17308@delorie.com>
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Organization: none provided
To: djgpp-workers AT delorie DOT com
Date: Tue, 11 May 1999 22:57:25 +0200
MIME-Version: 1.0
Subject: Re: gdb 4.18 for DJGPP (alpha)
In-reply-to: <199905111447.KAA03398@envy.delorie.com>
References: <B0000086551 AT stargate DOT astr DOT lu DOT lv> (pavenis AT lanet DOT lv)
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > 	- moved definitions and initialization of gdb_stdout and gdb_stderr and 
> >           some other global variables from main.c to top.c. Some time ago it was
> >           discussed in one of gdb mailing lists
> 
> These seem like they wouldn't be djgpp patches.  If they aren't, they
> need to be sent to the usual gdb list.

They were discussed on the gdb-list and not applied. Since the main
problem with it was the integration in RHIDE I solved the problem now
for the coming RHIDE version in an other way.

> >        -  changed go32-nat.c not to kill program after exception (eg. SIGINT)

With this patch I agree and would ask you to commit it (I append it to this
mail again as a single patch).

> >        -  go32_ops make global as at least rhide-1.4.7 uses it

In my fist patch I made this variable global, then someone from the
gdb-maintainer changed it to be static. Since the only problem with
it is also RHIDE and I solved it already in an other way, this patch is
not needed.


*** gdb/go32-nat.c~1	Wed May  5 23:06:38 1999
--- gdb/go32-nat.c	Tue May 11 15:06:36 1999
***************
*** 371,379 ****
--- 371,384 ----
  	{
  	  if (a_tss.tss_irqn == sig_map[i].go32_sig)
  	    {
+ #if __DJGPP_MINOR__ < 3
  	      if ((status->value.sig = sig_map[i].gdb_sig) !=
  		  TARGET_SIGNAL_TRAP)
  		status->kind = TARGET_WAITKIND_SIGNALLED;
+ #else
+         status->value.sig = sig_map[i].gdb_sig;
+         status->kind = TARGET_WAITKIND_STOPPED;
+ #endif
  	      break;
  	    }
  	}

******************************************************
* email:   Robert Hoehne <robert DOT hoehne AT gmx DOT net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************

- Raw text -


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