]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infrun.c
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
authorJoel Brobecker <brobecker@gnat.com>
Sat, 17 Aug 2002 06:12:52 +0000 (06:12 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 17 Aug 2002 06:12:52 +0000 (06:12 +0000)
commitc8edd8b484eaa59ae60a2b3c89f5772b98aefad1
tree8d91d7df37ec6abf1d7f1a17ff682465cd5b1bda
parent238617f6788c017a70157ce0d37cb7a35088df00
    * 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().
gdb/ChangeLog
gdb/alpha-osf1-tdep.c
gdb/breakpoint.c
gdb/infrun.c