gdb/gdb-ia64-tdep.patch
Stephan Kulow 21901929ed Accepting request 198490 from devel:gcc
- gdb-aarch64-hw-break.patch: fix setting hardware debug registers after
  fork

- Merge from fedoras gdb-7.6.50-20130731-cvs, of what will become 7.7
  eventually.  This includes 7.6, which gave:
    * new native configurations (e.g. ARM AArch64 GNU/Linux) 
    * new targets (e.g. ARM AArch64, Lynx 178 PowerPC, x86_64/Cygwin)
    * support for the "mini debuginfo" section, .gnu_debugdata 
    * the C++ ABI now defaults to the GNU v3 ABI 
    * more Python scripting improvements 
    * some GDB/MI improvements 
    * new configure options, new commands, and options 
    * new remote packets 
    * a new "target record-btrace" has been added while the
      "target record" command has been renamed to "target record-full"
- gdb-ia64-tdep.patch: build fixes
- gdb-ppc-ptrace.diff: Remove patch, not needed on new kernels

OBS-URL: https://build.opensuse.org/request/show/198490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=93
2013-09-11 13:42:29 +00:00

40 lines
1.3 KiB
Diff

Index: gdb-7.6.50.20130731-cvs/gdb/ia64-tdep.c
===================================================================
--- gdb-7.6.50.20130731-cvs.orig/gdb/ia64-tdep.c 2013-08-07 15:16:31.000000000 +0200
+++ gdb-7.6.50.20130731-cvs/gdb/ia64-tdep.c 2013-08-07 15:16:34.000000000 +0200
@@ -2181,7 +2181,7 @@ static const struct frame_unwind ia64_fr
avoid the additional bogus frame
#7 0x0000000000000000 in ?? () */
-static char linux_clone2_code[] =
+static unsigned char linux_clone2_code[] =
{
/* libc/sysdeps/unix/sysv/linux/ia64/clone2.S */
0x09, 0x00, 0x20, 0x12, 0x90, 0x11, 0x00, 0x40,
@@ -2220,7 +2220,7 @@ static int
ia64_linux_clone2_running (struct frame_info *this_frame)
{
CORE_ADDR pc = get_frame_pc (this_frame);
- char buf[LINUX_CLONE_LEN];
+ unsigned char buf[LINUX_CLONE_LEN];
struct minimal_symbol *minsym;
long long instr;
@@ -2256,7 +2256,7 @@ static int
ia64_outermost_frame (struct frame_info *this_frame)
{
CORE_ADDR pc = get_frame_pc (this_frame);
- char *name;
+ const char *name;
find_pc_partial_function (pc, &name, NULL, NULL);
@@ -2302,6 +2302,7 @@ ia64_clone2_frame_sniffer (const struct
static const struct frame_unwind ia64_clone2_frame_unwind =
{
NORMAL_FRAME,
+ default_frame_unwind_stop_reason,
&ia64_clone2_frame_this_id,
&ia64_clone2_frame_prev_register,
NULL,