aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-01-05 00:49:29 +0000
committerKung Hsu <kung@cygnus>1995-01-05 00:49:29 +0000
commitc023fbf429930b516ff56a8eb17ad0c1603f98d9 (patch)
treecfc6f93c28d4d8d2dcad5c4552911b70aa7cf338
parenteb57c776702450b08f37a187f96f59ff13f67009 (diff)
downloadgdb-c023fbf429930b516ff56a8eb17ad0c1603f98d9.zip
gdb-c023fbf429930b516ff56a8eb17ad0c1603f98d9.tar.gz
gdb-c023fbf429930b516ff56a8eb17ad0c1603f98d9.tar.bz2
* defs.h: move include tm.h up, so that the type LONGEST can
also based on the target requirement to determine. In this case target mips64.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/defs.h18
2 files changed, 16 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5407a4e..2f93f4f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
+ * defs.h: move include tm.h up, so that the type LONGEST can
+ also based on the target requirement to determine. In this case
+ target mips64.
+
* remote-os9k.c (rombug_open): catch exception e in rombug.
* remote-os9k.c (rombug_wait): print message before register display
from rombug.
diff --git a/gdb/defs.h b/gdb/defs.h
index 835f877..b518f64 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -33,6 +33,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* libiberty.h can't declare this one, but evidently we can. */
extern char *strsignal PARAMS ((int));
+#include "progress.h"
+
#include "mmalloc.h"
/* For BFD64 and bfd_vma. */
@@ -68,7 +70,11 @@ extern int sevenbit_strings;
extern void quit PARAMS ((void));
-#define QUIT { if (quit_flag) quit (); if (interactive_hook) interactive_hook (); }
+#define QUIT { \
+ if (quit_flag) quit (); \
+ if (interactive_hook) interactive_hook (); \
+ PROGRESS (1); \
+}
/* Command classes are top-level categories into which commands are broken
down for "help" purposes.
@@ -376,6 +382,11 @@ enum val_prettyprint
#include "nm.h"
+/* Target machine definition. This will be a symlink to one of the
+ tm-*.h files, built by the `configure' script. */
+
+#include "tm.h"
+
/* If the xm.h file did not define the mode string used to open the
files, assume that binary files are opened the same way as text
files */
@@ -671,11 +682,6 @@ extern char *strerror PARAMS ((int)); /* 4.11.6.2 */
/* Target-system-dependent parameters for GDB. */
-/* Target machine definition. This will be a symlink to one of the
- tm-*.h files, built by the `configure' script. */
-
-#include "tm.h"
-
#ifdef TARGET_BYTE_ORDER_SELECTABLE
/* The target endianness is selectable at runtime. Define
TARGET_BYTE_ORDER to be a variable. The user can use the `set