diff -rupaN gdb-6.6-orig/bfd/hosts/m68klinux.h gdb-6.6/bfd/hosts/m68klinux.h
--- gdb-6.6-orig/bfd/hosts/m68klinux.h 2010-08-09 13:28:14.000000000 +0800
+++ gdb-6.6/bfd/hosts/m68klinux.h 2010-08-09 13:30:28.000000000 +0800
@@ -20,6 +20,12 @@
/* Linux dumps "struct task_struct" at the end of the core-file. This
structure is currently 2512 bytes long, but we allow up to 4096
bytes to allow for some future growth. */
+
+#define NBPG 4096
+#define UPAGES 1
+#define HOST_TEXT_START_ADDR (u.start_code)
+#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
+
#define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096
#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
((abfd)->tdata.trad_core_data->u.signal)
_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb