diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2000-03-22 01:36:31 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2000-03-22 01:36:31 +0000 |
commit | 5f04ac3de9db2b4baf6aa2b82bbed541d652935d (patch) | |
tree | af7b18e109230c7fd8dc09526a12c5d546db2dba /gdb/config | |
parent | f09cffe3057e870312014826309b445c827e0f35 (diff) | |
download | gdb-5f04ac3de9db2b4baf6aa2b82bbed541d652935d.zip gdb-5f04ac3de9db2b4baf6aa2b82bbed541d652935d.tar.gz gdb-5f04ac3de9db2b4baf6aa2b82bbed541d652935d.tar.bz2 |
2000-03-21 J.T. Conklin <jtc@redback.com>
* i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
* i386nbsd-nat.c: New file.
* i386/tm-nbsd.h (NUM_REGS): Removed.
(HAVE_I387_REGS): Defined.
* i386/nm-nbsd.h (FLOAT_INFO): Removed.
* tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
SVR4_SHARED_LIBS.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/nbsd.mh | 2 | ||||
-rw-r--r-- | gdb/config/i386/nm-nbsd.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-nbsd.h | 5 | ||||
-rw-r--r-- | gdb/config/tm-nbsd.h | 9 |
4 files changed, 12 insertions, 6 deletions
diff --git a/gdb/config/i386/nbsd.mh b/gdb/config/i386/nbsd.mh index c76b897..061f1eb 100644 --- a/gdb/config/i386/nbsd.mh +++ b/gdb/config/i386/nbsd.mh @@ -1,5 +1,5 @@ # Host: Intel 386 running NetBSD XDEPFILES= ser-tcp.o -NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386b-nat.o +NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o XM_FILE= xm-nbsd.h NAT_FILE= nm-nbsd.h diff --git a/gdb/config/i386/nm-nbsd.h b/gdb/config/i386/nm-nbsd.h index ca9e3cc..22a3434 100644 --- a/gdb/config/i386/nm-nbsd.h +++ b/gdb/config/i386/nm-nbsd.h @@ -24,8 +24,6 @@ /* Get generic NetBSD native definitions. */ #include "nm-nbsd.h" -/* #define FLOAT_INFO { i386_float_info(); } */ - #define REGISTER_U_ADDR(addr, blockend, regno) \ (addr) = i386_register_u_addr ((blockend),(regno)); diff --git a/gdb/config/i386/tm-nbsd.h b/gdb/config/i386/tm-nbsd.h index c826d5b..3be47b0 100644 --- a/gdb/config/i386/tm-nbsd.h +++ b/gdb/config/i386/tm-nbsd.h @@ -21,12 +21,11 @@ #ifndef TM_NBSD_H #define TM_NBSD_H +#define HAVE_I387_REGS + #include "i386/tm-i386bsd.h" #include "tm-nbsd.h" -#undef NUM_REGS -#define NUM_REGS 16 - #define JB_ELEMENT_SIZE sizeof(int) /* jmp_buf[_JBLEN] is array of ints */ #define JB_PC 0 /* Setjmp()'s return PC saved here */ diff --git a/gdb/config/tm-nbsd.h b/gdb/config/tm-nbsd.h index e8701be..d002d6b 100644 --- a/gdb/config/tm-nbsd.h +++ b/gdb/config/tm-nbsd.h @@ -18,3 +18,12 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#ifndef SVR4_SHARED_LIBS + +/* Return non-zero if we are in a shared library trampoline code stub. */ + +#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \ + (name && !strcmp(name, "_DYNAMIC")) + +#endif /* !SVR4_SHARED_LIBS */ |