]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MicroBlaze: Make sure we see memory breakpoints before reading
authorMichael J. Eager <eager@eagercon.com>
Tue, 22 Apr 2025 00:44:08 +0000 (17:44 -0700)
committerMichael J. Eager <eager@eagercon.com>
Tue, 22 Apr 2025 00:45:04 +0000 (17:45 -0700)
commitd42db22aa54876e12f93d85f33a9dcc00d31c5b4
tree9dfe6b326e8f697b25438ae23e885caa5e674203
parent5da20c29124449b5522e1a8cea295e7da287cf9d
MicroBlaze: Make sure we see memory breakpoints before reading

For linux target, when trying to run a program from gdb, the
following defect is seen:

Program received signal SIGILL, Illegal instruction.
0x48004674 in _dl_debug_state () from target:/lib/ld.so.1

* microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint):
  Call make_scoped_restore_show_memory_breakpoints

Signed-off-by: Gopi Kumar Bulusu <gopi@sankhya.com>
Signed-off-by: Michael J. Eager <eager@eagercon.com>
gdb/microblaze-linux-tdep.c