Codebase list gdb / 329b287
Imported Debian patch 7.4.1-2 Hector Oron authored 11 years ago Hector Oron committed 11 years ago
6 changed file(s) with 74 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
0 gdb (7.4.1-1.1+m68k.1) unreleased; urgency=low
1
2 * Add m68k-thread-debugging.patch from upstream.
3
4 -- Thorsten Glaser <tg@mirbsd.de> Mon, 02 Jul 2012 18:44:12 +0000
0 gdb (7.4.1-2) unstable; urgency=low
1
2 * Fix empty doc directory when upgrading from squeeze to wheezy.
3 (Closes: #684375)
4 * d/p/m68k-thread-debugging.patch:
5 - Add thread debugging function for m68k. Taken from upstream.
6 Thanks Thorsten Glaser.
7
8 -- Hector Oron <zumbi@debian.org> Wed, 19 Sep 2012 21:16:17 +0000
59
610 gdb (7.4.1-1.1) unstable; urgency=low
711
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 if [ -d /usr/share/doc/gdb-multiarch ] && [ ! -L /usr/share/doc/gdb-multiarch ]; then
5 if rmdir /usr/share/doc/gdb-multiarch 2>/dev/null; then
6 ln -sf gdb /usr/share/doc/gdb-multiarch
7 fi
8 fi
9
10 #DEBHELPER#
11
12 exit 0
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 if [ -d /usr/share/doc/gdb-source ] && [ ! -L /usr/share/doc/gdb-source ]; then
5 if rmdir /usr/share/doc/gdb-source 2>/dev/null; then
6 ln -sf gdb /usr/share/doc/gdb-source
7 fi
8 fi
9
10 #DEBHELPER#
11
12 exit 0
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 if [ -d /usr/share/doc/gdb64 ] && [ ! -L /usr/share/doc/gdb64 ]; then
5 if rmdir /usr/share/doc/gdb64 2>/dev/null; then
6 ln -sf gdb /usr/share/doc/gdb64
7 fi
8 fi
9
10 #DEBHELPER#
11
12 exit 0
0 #!/bin/sh
1 set -e
2
3 # Replace documentation directory with symlink
4 if [ -d /usr/share/doc/libgdb-dev ] && [ ! -L /usr/share/doc/libgdb-dev ]; then
5 if rmdir /usr/share/doc/libgdb-dev 2>/dev/null; then
6 ln -sf gdb /usr/share/doc/libgdb-dev
7 fi
8 fi
9
10 #DEBHELPER#
11
12 exit 0
00 2012-03-08 Andreas Schwab <schwab@linux-m68k.org>
11
2 * m68klinux-nat.c: Include "gdb_proc_service.h".
3 (PTRACE_GET_THREAD_AREA): Define.
4 (ps_get_thread_area): New function.
2 * m68klinux-nat.c: Include "gdb_proc_service.h".
3 (PTRACE_GET_THREAD_AREA): Define.
4 (ps_get_thread_area): New function.
55
6 --- a/gdb/m68klinux-nat.c
7 +++ b/gdb/m68klinux-nat.c
8 @@ -51,6 +51,13 @@
6 Index: gdb-7.4.1/gdb/m68klinux-nat.c
7 ===================================================================
8 --- gdb-7.4.1.orig/gdb/m68klinux-nat.c 2012-01-06 04:43:19.000000000 +0000
9 +++ gdb-7.4.1/gdb/m68klinux-nat.c 2012-09-19 22:19:06.000000000 +0000
10 @@ -51,7 +51,14 @@
911
1012 /* Prototypes for supply_gregset etc. */
1113 #include "gregset.h"
14 -
1215 +
1316 +/* Defines ps_err_e, struct ps_prochandle. */
1417 +#include "gdb_proc_service.h"
1619 +#ifndef PTRACE_GET_THREAD_AREA
1720 +#define PTRACE_GET_THREAD_AREA 25
1821 +#endif
19
22 +
2023 /* This table must line up with gdbarch_register_name in "m68k-tdep.c". */
2124 static const int regmap[] =
22 @@ -556,6 +563,24 @@ fetch_core_registers (struct regcache *r
25 {
26 @@ -556,6 +563,24 @@
2327 }
2428
2529
2731 +
2832 +ps_err_e
2933 +ps_get_thread_area (const struct ps_prochandle *ph,
30 + lwpid_t lwpid, int idx, void **base)
34 + lwpid_t lwpid, int idx, void **base)
3135 +{
3236 + if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) < 0)
3337 + return PS_ERR;