www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/26/05:11:33

From: pavenis AT lanet DOT lv
Message-ID: <B0000088217@stargate.astr.lu.lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Wed, 26 May 1999 10:48:58 +0300
MIME-Version: 1.0
Subject: Re: gdb 4.18 for DJGPP (alpha)
References: <B0000088084 AT stargate DOT astr DOT lu DOT lv>
In-reply-to: <Pine.SUN.3.91.990526073713.20715A-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

Confirmed. Seems to work.

Andris

PS. Now we have more than in Linux as hbreak didn't work for me 
with gdb-4.18.


On 26 May 99, at 7:41, Eli Zaretskii wrote:

> 
> On Tue, 25 May 1999 pavenis AT lanet DOT lv wrote:
> 
> > I got SIGTRAP only on hardware breakpoints (eg. hbreak).
> 
> The following simple patch seems to make hbreak work for me.  (You may 
> need to run configure, as I am not sure the Makefile copies nm-go32.h 
> into nm.h.)
> 
> I have no idea why was DECR_PC_AFTER_HW_BREAK set to zero; I think 1 is 
> the correct value.
> 
> Watchpoints still don't work, at least sometimes, but that is the case 
> with Robert's binary (and with GDB 4.16) as well.
> 
> *** gdb/config/i386/nm-go32.h~	Wed May  5 23:06:26 1999
> --- gdb/config/i386/nm-go32.h	Tue May 25 20:13:40 1999
> ***************
> *** 48,54 ****
>   #define target_remove_hw_breakpoint(addr, shadow)  \
>     go32_remove_hw_breakpoint(addr, shadow)
>   
> ! #define DECR_PC_AFTER_HW_BREAK 0
>   
>   #undef FLOAT_INFO
>   #define FLOAT_INFO { i386_go32_float_info (); }
> --- 48,54 ----
>   #define target_remove_hw_breakpoint(addr, shadow)  \
>     go32_remove_hw_breakpoint(addr, shadow)
>   
> ! #define DECR_PC_AFTER_HW_BREAK 1
>   
>   #undef FLOAT_INFO
>   #define FLOAT_INFO { i386_go32_float_info (); }
> 


- Raw text -


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