gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 23 Sep 2011 07:27:19 +0000 (07:27 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 23 Sep 2011 07:27:19 +0000 (07:27 +0000)
* i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer
to get address.

gdb/ChangeLog
gdb/i386-linux-nat.c

index 4dbb6c1c53476386888abe5414673091a5db942c..677459cb97e00eefa8d43ed1696b573662ef89f7 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-23  Yao Qi  <yao@codesourcery.com>
+
+       * i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer
+       to get address.
+
 2011-09-22  Tristan Gingold  <gingold@adacore.com>
 
        * fork-child.c (fork_inferior): Add exec_fun parameter.
index e32a119b1ad6c0a0db8475ae50cc63921c6b0213..625793102010bf9209e893154c31795f62db8591 100644 (file)
@@ -893,7 +893,8 @@ i386_linux_resume (struct target_ops *ops,
 
              regcache_cooked_read_unsigned (regcache, I386_ESP_REGNUM, &sp);
              if (syscall == SYS_rt_sigreturn)
-               addr = read_memory_integer (sp + 8, 4, byte_order) + 20;
+               addr = read_memory_unsigned_integer (sp + 8, 4, byte_order)
+                 + 20;
              else
                addr = sp;
 
This page took 0.030234 seconds and 4 git commands to generate.