aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-19 22:04:08 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-19 22:04:08 +0000
commita6a070be5083e85e67eaa7394938dd9f2c37bfdc (patch)
treeb1040597792b07223f52c6e97d67270f5f6a3778
parent009c4572b6a4fa53d0168e92273b50853274ef10 (diff)
downloadgdb-a6a070be5083e85e67eaa7394938dd9f2c37bfdc.zip
gdb-a6a070be5083e85e67eaa7394938dd9f2c37bfdc.tar.gz
gdb-a6a070be5083e85e67eaa7394938dd9f2c37bfdc.tar.bz2
CARP:
* exec.c (exec_file_command): Cleanup. Replace #if NEED_TEXT_START_END with if(). * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1. * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto. * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto. * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/config/a29k/tm-a29k.h2
-rw-r--r--gdb/config/pa/nm-hppah.h2
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bd47b86..a09a843 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+Thu Nov 19 09:53:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * exec.c (exec_file_command): Cleanup. Replace #if
+ NEED_TEXT_START_END with if().
+ * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1.
+ * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto.
+ * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto.
+ * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
+
Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>
* main.c: Wait until more time has passed before calling
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index 5fecca1..2be97ef 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -676,7 +676,7 @@ extern void pop_frame ();
/* Because of this, we need (as a kludge) to know the addresses of the
text section. */
-#define NEED_TEXT_START_END
+#define NEED_TEXT_START_END 1
/* How to translate register numbers in the .stab's into gdb's internal register
numbers. We don't translate them, but we warn if an invalid register
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h
index 1584c9b..f7ace2d 100644
--- a/gdb/config/pa/nm-hppah.h
+++ b/gdb/config/pa/nm-hppah.h
@@ -34,7 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* We need to figure out where the text region is so that we use the
appropriate ptrace operator to manipulate text. Simply reading/writing
user space will crap out HPUX. */
-#define NEED_TEXT_START_END
+#define NEED_TEXT_START_END 1
/* This macro defines the register numbers (from REGISTER_NAMES) that
are effectively unavailable to the user through ptrace(). It allows