This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Eliminate TARGET_HAS_HARDWARE_WATCHPOINTS


Date: Sun, 05 Sep 2004 09:27:17 -0400
From: Andrew Cagney <cagney@gnu.org>

- procfs.c and i386v-nat.c do refer to TARGET_HAS_HARDWARE_WATCHPOINTS
These files should be replying on an autoconf test.


Autoconf tests don't work well for a cross-compiled GDB, and probably
will not work for anything but a native version of GDB.  Is procfs.c
used by some non-native target?

procfs.c is native only, the deprecated macros being defined in an nm-*.h file.


I'll clarify the comments so that it is clear that:

- it is native only

- in all likelyhood all applicable current systems support this mechanism so no autoconf test is needed (someone needs to do a proper analysis)

- its a configuration change, possibly involving an autoconf test

In any case, I'd like to see the suggested Autoconf replacement for
this before we deprecate the feature.

This is neither deprecating a feature, nor deprecating a system.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]