[RFA] Unified watchpoints for x86 platforms

Mark Kettenis kettenis@wins.uva.nl
Sun Mar 18 15:59:00 GMT 2001


   Date: Sun, 18 Mar 2001 10:56:25 +0200 (IST)
   From: Eli Zaretskii <eliz@is.elta.co.il>

   On Sat, 17 Mar 2001, Mark Kettenis wrote:

   > ... config/i386/nm-i386v.h is really for System V-ish systems only,
   > and not a generic i386 file (the comment on the first line of that
   > file is a misleading).

   Not only is the comment misleading, but it looks like all the x86
   targets include nm-i386v.h, so it is definitely used like a generic
   i386 file!

What makes you think that?  I see:

$ grep nm-i386v.h config/i386/*.h
config/i386/nm-go32.h:#include "i386/nm-i386v.h"
config/i386/nm-linux.h:#include "i386/nm-i386v.h"

Linux is a bit System V-ish, but DJGPP most certainly isn't, and in
principle it shouldn't include nm-i386v.h.  None of the other x86
targets include nm-i386v.h.

   > Therefore I think it's best to create a new config/i386/nm-i386.h
   > file and put your stuff there instead.

   Should I make nm-i386v.h include nm-i386.h, then?

I don't think so.

Mark



More information about the Gdb-patches mailing list