bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB m68k debug multi-thread application fails: capability not availa


From: lars71dk
Subject: Re: GDB m68k debug multi-thread application fails: capability not available [PATCH 2/2] gdb-6.6-UPAGES-undefined.patch
Date: Fri, 31 May 2013 06:06:30 -0700 (PDT)
User-agent: G2/1.0

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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]