diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-11-09 01:23:30 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-11-09 01:23:30 +0000 |
commit | 11cf87416416e13eff634a70b4954fe6a3912720 (patch) | |
tree | a6dc7a21bb3d45b89c3f95e4b5862ec9d2fab83b /gdb/config | |
parent | 98007ce7b0dea06f0c04d833d39b5a9c9773a07a (diff) | |
download | fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.zip fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.gz fsf-binutils-gdb-11cf87416416e13eff634a70b4954fe6a3912720.tar.bz2 |
import gdb-1999-11-08 snapshot
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/nm-i386sol2.h | 9 | ||||
-rw-r--r-- | gdb/config/i386/nm-linux.h | 8 | ||||
-rw-r--r-- | gdb/config/i960/tm-nindy960.h | 19 | ||||
-rw-r--r-- | gdb/config/mcore/tm-mcore.h | 4 | ||||
-rw-r--r-- | gdb/config/pa/nm-hppah.h | 5 | ||||
-rw-r--r-- | gdb/config/sparc/nm-sun4sol2.h | 9 |
6 files changed, 14 insertions, 40 deletions
diff --git a/gdb/config/i386/nm-i386sol2.h b/gdb/config/i386/nm-i386sol2.h index 05ab066..8ccc910 100644 --- a/gdb/config/i386/nm-i386sol2.h +++ b/gdb/config/i386/nm-i386sol2.h @@ -20,12 +20,3 @@ #include "nm-sysv4.h" -#ifdef HAVE_THREAD_DB_LIB - -struct objfile; - -#define target_new_objfile(OBJFILE) sol_thread_new_objfile (OBJFILE) - -void sol_thread_new_objfile PARAMS ((struct objfile * objfile)); - -#endif diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index df964f4..1ce0a30 100644 --- a/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h @@ -76,14 +76,6 @@ i386_remove_watchpoint PARAMS ((int pid, CORE_ADDR addr, int len)); /* Support for the glibc linuxthreads package. */ -#ifdef __STDC__ -struct objfile; -#endif - -extern void -linuxthreads_new_objfile PARAMS ((struct objfile *objfile)); -#define target_new_objfile(OBJFILE) linuxthreads_new_objfile (OBJFILE) - extern char * linuxthreads_pid_to_str PARAMS ((int pid)); #define target_pid_to_str(PID) linuxthreads_pid_to_str (PID) diff --git a/gdb/config/i960/tm-nindy960.h b/gdb/config/i960/tm-nindy960.h index 7a20af3..d57a697 100644 --- a/gdb/config/i960/tm-nindy960.h +++ b/gdb/config/i960/tm-nindy960.h @@ -60,13 +60,18 @@ extern char *nindy_ttyname; /* Name of serial port to talk to nindy */ /* If specified on the command line, open tty for talking to nindy, and download the executable file if one was specified. */ -#define ADDITIONAL_OPTION_HANDLER \ - if (!SET_TOP_LEVEL () && nindy_ttyname) { \ - nindy_open (nindy_ttyname, !batch); \ - if (!SET_TOP_LEVEL () && execarg) { \ - target_load (execarg, !batch); \ - } \ - } +extern void nindy_open (char *name, int from_tty); +#define ADDITIONAL_OPTION_HANDLER \ + if (nindy_ttyname != NULL) \ + { \ + if (catch_command_errors (nindy_open, nindy_ttyname, \ + !batch, RETURN_MASK_ALL)) \ + { \ + if (execarg != NULL) \ + catch_command_errors (target_load, execarg, !batch, \ + RETURN_MASK_ALL); \ + } \ + } /* If configured for i960 target, we take control before main loop and demand that we configure for a nindy target. */ diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h index 69329b4..ddf5d90 100644 --- a/gdb/config/mcore/tm-mcore.h +++ b/gdb/config/mcore/tm-mcore.h @@ -18,8 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* The mcore is big endian */ -#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN +/* The mcore is little endian (by default) */ +#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN /* All registers are 32 bits */ #define REGISTER_SIZE 4 diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index 269593f..7b277d1 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -279,11 +279,6 @@ extern int hppa_resume_execd_vforking_child_to_get_parent_vfork PARAMS ((void)); #ifdef HAVE_HPUX_THREAD_SUPPORT -struct objfile; - -void hpux_thread_new_objfile PARAMS ((struct objfile * objfile)); -#define target_new_objfile(OBJFILE) hpux_thread_new_objfile (OBJFILE) - extern char *hpux_pid_to_str PARAMS ((int pid)); #define target_pid_to_str(PID) hpux_pid_to_str (PID) diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h index 8baf893..6e9e74f 100644 --- a/gdb/config/sparc/nm-sun4sol2.h +++ b/gdb/config/sparc/nm-sun4sol2.h @@ -30,12 +30,3 @@ #define PRSVADDR_BROKEN -#ifdef HAVE_THREAD_DB_LIB - -struct objfile; - -#define target_new_objfile(OBJFILE) sol_thread_new_objfile (OBJFILE) - -void sol_thread_new_objfile PARAMS ((struct objfile * objfile)); - -#endif |