[PATCH] gdb/csky rm csky_memory_insert/remove_breakpoint

jiangshuai_li jiangshuai_li@linux.alibaba.com
Wed Sep 21 08:51:23 GMT 2022


>>>>>> Jiangshuai Li via Gdb-patches <gdb-patches@sourceware.org> writes:
>
>> All the types of breakpoints and watchpoints are inserted or
>> removed by the gdb stub, these two functions are no longer needed.
>
>Does this mean this is a port that will never have a host port of gdb?
You mean native gdb support? I will port native gdb later. 
The reason why I deleted these two functions is that CSKY did not use the remote protocol
provided by GDB long ago, but implemented a set of djp protocols for debugging. At this
time, these two functions are useful. And at the same time, when debugging with gdbserver,
software breakpoints are also inserted and deleted through these two interfaces.
However, the GDB Stubs used by CSKY now use the remote protocol provided by GDB, and
gdbserver also supports inserting and deleting software breakpoints, so these two functions
are no longer needed.
I haven't carefully checked whether native gdb needs these two interfaces, if necessary, add
them later.
>
>I guess it's fine in that case. I wonder if there are other ports in
>this situation.
>
 Jiangshuai Li


More information about the Gdb-patches mailing list