aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
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 /gdb/defs.h
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h18
1 files changed, 12 insertions, 6 deletions
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