From c023fbf429930b516ff56a8eb17ad0c1603f98d9 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Thu, 5 Jan 1995 00:49:29 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 4 ++++ gdb/defs.h | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5407a4ea40c..2f93f4f0ece 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Wed Jan 4 12:27:29 1995 Kung Hsu + * 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 835f877a516..b518f64479a 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 -- 2.30.2