This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb alpha-osf1-tdep.c infrun.c breakpoint. ...
- From: brobecke at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 17 Aug 2002 06:12:53 -0000
- Subject: src/gdb alpha-osf1-tdep.c infrun.c breakpoint. ...
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sources.redhat.com 2002-08-16 23:12:53
Modified files:
gdb : alpha-osf1-tdep.c infrun.c breakpoint.c
ChangeLog
Log message:
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
procfs appears to be broken when debugging on multi-processor
machines. So enable software single stepping in order to avoid
using the procfs interface to do next/step operations, using
internal breakpoints instead.
* infrun.c (handle_inferior_event): Readjust the stop_pc by
DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to
make this pc address equal to the value it would have if the
system stepping capability was used. Also set a new flag used
to ensure that we don't readjust the PC one more time later.
* breakpoint.c (bpstat_stop_status): Do not adjust the PC
address by DECR_PC_AFTER_BREAK when software single step is
in use for this architecture, as this has already been taken
care of in handle_inferior_event().
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/alpha-osf1-tdep.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.66&r2=1.67
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.79&r2=1.80
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.3066&r2=1.3067