diff options
author | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:33:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:47:59 -0600 |
commit | e54e59297a747bb4f396345aa090d43f155b5576 (patch) | |
tree | ec458caf2634e46e76038a2fbc1c2708667ee896 /gdbserver/win32-i386-low.cc | |
parent | d6225aff7a4f11c3443515c0d8dad12351b97575 (diff) | |
download | binutils-gdb-e54e59297a747bb4f396345aa090d43f155b5576.tar.gz |
Introduce win32_target_ops::decr_pc_after_break
This adds a decr_pc_after_break member to win32_target_ops and updates
the two Windows targets to set it.
Note that I can't test the win32-arm-low.c change.
gdbserver/ChangeLog
2020-04-08 Tom Tromey <tromey@adacore.com>
* win32-low.h (struct win32_target_ops) <decr_pc_after_break>: New
field.
* win32-i386-low.c (the_low_target): Update.
* win32-arm-low.c (the_low_target): Update.
Diffstat (limited to 'gdbserver/win32-i386-low.cc')
-rw-r--r-- | gdbserver/win32-i386-low.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdbserver/win32-i386-low.cc b/gdbserver/win32-i386-low.cc index eac15b5694a..48893af33b2 100644 --- a/gdbserver/win32-i386-low.cc +++ b/gdbserver/win32-i386-low.cc @@ -506,6 +506,7 @@ struct win32_target_ops the_low_target = { i386_single_step, &i386_win32_breakpoint, i386_win32_breakpoint_len, + 1, i386_win32_get_pc, i386_win32_set_pc, i386_supports_z_point_type, |