PERFORCE change 42712 for review
Marcel Moolenaar
marcel at FreeBSD.org
Mon Nov 17 16:30:47 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=42712
Change 42712 by marcel at marcel_nfs on 2003/11/17 16:30:27
Revert non-working FreeBSD/ia64 port. gdb6 is being ported.
Affected files ...
.. //depot/projects/ia64/contrib/gdb/gdb/config/ia64/nm-fbsd.h#2 delete
.. //depot/projects/ia64/contrib/gdb/gdb/config/ia64/tm-fbsd.h#2 delete
.. //depot/projects/ia64/contrib/gdb/gdb/config/ia64/tm-ia64.h#6 edit
.. //depot/projects/ia64/contrib/gdb/gdb/defs.h#6 edit
.. //depot/projects/ia64/contrib/gdb/gdb/ia64-fbsd-nat.c#2 delete
.. //depot/projects/ia64/contrib/gdb/gdb/ia64-fbsd-tdep.c#2 delete
.. //depot/projects/ia64/contrib/gdb/gdb/ia64-tdep.c#6 edit
Differences ...
==== //depot/projects/ia64/contrib/gdb/gdb/config/ia64/tm-ia64.h#6 (text+ko) ====
@@ -21,8 +21,6 @@
#ifndef TM_IA64_H
#define TM_IA64_H
-#include "regcache.h"
-
#if !defined(GDBSERVER)
#define GDB_MULTI_ARCH 1
==== //depot/projects/ia64/contrib/gdb/gdb/defs.h#6 (text+ko) ====
@@ -1027,8 +1027,6 @@
extern char *savestring (const char *, size_t);
-extern char *tilde_expand (const char *);
-
extern char *msavestring (void *, const char *, size_t);
extern char *mstrsave (void *, const char *);
==== //depot/projects/ia64/contrib/gdb/gdb/ia64-tdep.c#6 (text+ko) ====
@@ -79,11 +79,9 @@
#define BUNDLE_LEN 16
-#ifdef __linux__
/* FIXME: These extern declarations should go in ia64-tdep.h. */
extern CORE_ADDR ia64_linux_sigcontext_register_address (CORE_ADDR, int);
extern CORE_ADDR ia64_aix_sigcontext_register_address (CORE_ADDR, int);
-#endif
static gdbarch_init_ftype ia64_gdbarch_init;
@@ -2108,15 +2106,12 @@
native_find_global_pointer is nonzero to indicate that we're
on AIX is kind of hokey, but I can't think of a better way
to do it. */
-#ifdef __linux__
if (os_ident == ELFOSABI_LINUX)
tdep->sigcontext_register_address = ia64_linux_sigcontext_register_address;
else if (native_find_global_pointer != 0)
tdep->sigcontext_register_address = ia64_aix_sigcontext_register_address;
else
-#else
tdep->sigcontext_register_address = 0;
-#endif
/* We know that GNU/Linux won't have to resort to the
native_find_global_pointer hackery. But that's the only one we
More information about the p4-projects
mailing list