ia64/xen-unstable

changeset 11603:e4a496c2b2d1

Fix tools build with latest glibc, which has an
extended PTRACE enumeration.
Original patch from Stephen Tweedie <sct@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Sat Sep 23 14:52:04 2006 +0100 (2006-09-23)
parents 19b126974c1f
children c4f3f719d997
files tools/libxc/xc_ptrace.c
line diff
     1.1 --- a/tools/libxc/xc_ptrace.c	Sat Sep 23 14:47:00 2006 +0100
     1.2 +++ b/tools/libxc/xc_ptrace.c	Sat Sep 23 14:52:04 2006 +0100
     1.3 @@ -611,17 +611,12 @@ xc_ptrace(
     1.4              online_vcpus_changed(cpumap);
     1.5          break;
     1.6  
     1.7 -    case PTRACE_SETFPREGS:
     1.8 -    case PTRACE_SETFPXREGS:
     1.9 -    case PTRACE_PEEKUSER:
    1.10 -    case PTRACE_POKEUSER:
    1.11 -    case PTRACE_SYSCALL:
    1.12 -    case PTRACE_KILL:
    1.13 -        goto out_unsupported; /* XXX not yet supported */
    1.14 -
    1.15      case PTRACE_TRACEME:
    1.16          IPRINTF("PTRACE_TRACEME is an invalid request under Xen\n");
    1.17          goto out_error;
    1.18 +
    1.19 +    default:
    1.20 +        goto out_unsupported; /* XXX not yet supported */
    1.21      }
    1.22  
    1.23      return retval;