]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Revert patch for revision.
authorJim Blandy <jimb@codesourcery.com>
Thu, 29 May 2003 19:01:10 +0000 (19:01 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 29 May 2003 19:01:10 +0000 (19:01 +0000)
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index a7764ff5bd323af883b3d949af2ea17c4fc9714c..3dfb16ca85d67504f768ad2552cf90db98ff7678 100644 (file)
@@ -9,11 +9,6 @@
        rules.
        (clean): Delete reg-ppc64.c, too.
 
-       * linux-low.c (usr_store_inferior_registers): Transfer buf in
-       PTRACE_XFER_TYPE-sized chunks, not int-sized chunks.  Otherwise,
-       if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
-       away part of the register's value.
-
 2003-04-24  Andrew Cagney  <cagney@redhat.com>
 
        * low-nbsd.c (fetch_inferior_registers): 
index e53f301c7b9c923cab32d8fe2b2bc9e1a3c2e716..95bf9697739df7fd3b5178420f48e1cdaeab45e2 100644 (file)
@@ -976,7 +976,7 @@ usr_store_inferior_registers (int regno)
        {
          errno = 0;
          ptrace (PTRACE_POKEUSER, inferior_pid, (PTRACE_ARG3_TYPE) regaddr,
-                 *(PTRACE_XFER_TYPE *) (buf + i));
+                 *(int *) (buf + i));
          if (errno != 0)
            {
              if ((*the_low_target.cannot_store_register) (regno) == 0)