public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Line step implement
@ 2022-10-20  4:05 ted
  2022-10-21  9:51 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: ted @ 2022-10-20  4:05 UTC (permalink / raw)
  To: binutils

Hi folks, I'm working on an implement of gdb server. The server talks with gdb using RSP protocol and drive a CPU model. While developing the *line step* function (range step mode enabled) i found that my CPU model need to take some time to finish just one instruction step. The reason is the CPU model run in individual process. I have to pass the package (instruction step) through IPC. With thousands of instructions in the source line it spend too much time compared with normal running of that line.

Can I ask gdb using temporary breakpoints ( set on any possible instruction can go out of the range corresponding to the source line) to assist with step functionality? Does gdb really knows where to set the required breakpoints? If the answer is false, is there a good way to deal with this problem?

Thank you for your time!
Ted CH

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Line step implement
  2022-10-20  4:05 Line step implement ted
@ 2022-10-21  9:51 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2022-10-21  9:51 UTC (permalink / raw)
  To: ted; +Cc: Binutils

Hi Ted,

> Hi folks, I'm working on an implement of gdb server.  

Sorry - you are asking this question on the wrong mailing list.  This is
the list for the GNU Binutils project.  You want the list for the GNU GDB
project, ie:  gdb@sourceware.org

Cheers
   Nick



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-21  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20  4:05 Line step implement ted
2022-10-21  9:51 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).