Why gdb/gdbserver handler breakpoint on gdb client side (ARM)?

Fei Ding <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAGmPkfK3TicvDbv88U5YsxwuCv=rO-ciBMNMp6cteq4UABPohg@mail.gmail.com>
Hi.

Recently I am working on debugging a bug of gdb/gdbserver when setting
breakpoints on ARM devices. I found that, gdb-client nearly do nothing
about it when we use gdb/gdbserver on x86 platform, gdbserver do the
dirty work in fact, including generate INT 3 instruction, read, save,
and write memory, etc... But for ARM, this work is done on the
gdb-client side, which is opposed to x86 case. Anyone know why? Or any
thoughts?

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.