This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog i386-linux-tdep.c i386-tdep. ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 29 Feb 2012 14:59:42 -0000
- Subject: src/gdb ChangeLog i386-linux-tdep.c i386-tdep. ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2012-02-29 14:59:42
Modified files:
gdb : ChangeLog i386-linux-tdep.c i386-tdep.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: disp-step-syscall.exp
Log message:
gdb/
Fix disp-step-syscall.exp: fork: single step over fork.
* i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
(i386_linux_get_syscall_number_from_regcache): ... here, new function
comment, change parameters gdbarch and ptid to regcache. Remove
parameter regcache, initialize gdbarch from regcache here.
(i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
New functions.
(i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
instead.
* i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
'syscall'. Make the 'int' check more strict.
gdb/testsuite/
Fix disp-step-syscall.exp: fork: single step over fork.
* gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
whitespaces.
(single step over $syscall): Remove its check.
(single step over $syscall final pc): New check.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13878&r2=1.13879
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-tdep.c.diff?cvsroot=src&r1=1.85&r2=1.86
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.c.diff?cvsroot=src&r1=1.345&r2=1.346
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3100&r2=1.3101
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/disp-step-syscall.exp.diff?cvsroot=src&r1=1.5&r2=1.6