This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog arm-linux-tdep.c arm-tdep.c ...
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 May 2011 21:23:26 -0000
- Subject: src/gdb ChangeLog arm-linux-tdep.c arm-tdep.c ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_3-branch
Changes by: brobecke@sourceware.org 2011-05-17 21:23:26
Modified files:
gdb : ChangeLog arm-linux-tdep.c arm-tdep.c
arm-tdep.h
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.arch: thumb-singlestep.S thumb-singlestep.exp
Log message:
gdb/
* arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype.
* arm-tdep.c (arm_override_mode): New global.
(arm_pc_is_thumb): Respect arm_override_mode. Remove single-step
execution mode heuristics.
(thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert
second single-step breakpoint if needed, using
arm_insert_single_step_breakpoint.
(arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle
ARM execution mode, do not call thumb_get_next_pc_raw.
(arm_get_next_pc): Encode execution mode in return value. Call
either arm_get_next_pc_raw or thumb_get_next_pc_raw.
(arm_insert_single_step_breakpoint): New function.
(arm_software_single_step): Call it.
* arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB
argument to return execution mode of sigreturn target.
(arm_linux_syscall_next_pc): Use it.
(arm_linux_copy_svc): Update call.
(arm_linux_software_single_step): Call
arm_insert_single_step_breakpoint.
gdb/testsuite/
* gdb.arch/thumb-singlestep.S: New file.
* gdb.arch/thumb-singlestep.exp: Likewise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.12887.2.25&r2=1.12887.2.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/arm-linux-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.84&r2=1.84.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.339&r2=1.339.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.h.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.49&r2=1.49.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.2655.2.10&r2=1.2655.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.arch/thumb-singlestep.S.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.arch/thumb-singlestep.exp.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=NONE&r2=1.1.2.1