2013-09-11 13:42:29 +00:00
|
|
|
Index: gdb-7.6.50.20130731-cvs/gdb/ia64-tdep.c
|
2013-07-08 14:47:04 +00:00
|
|
|
===================================================================
|
2013-09-11 13:42:29 +00:00
|
|
|
--- 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;
|
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
@@ -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,
|