public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB with PCIe device
@ 2020-12-26  6:48 Rajinikanth Pandurangan
  2021-01-08 15:17 ` Simon Marchi
  0 siblings, 1 reply; 6+ messages in thread
From: Rajinikanth Pandurangan @ 2020-12-26  6:48 UTC (permalink / raw)
  To: gdb

Hello,

As per my understanding, gdb calls ptrace system calls which intern uses
kernel implementation of architecture specific action (updating debug
registers,reading context memory...) to set breakpoints, and so on.

But in case of running gdb with PCIe devices such as gpu or fpga, how does
the hardware specific actions are being done?

Should device drivers provide ptrace equivalent kernel implementation?

 Could any of the gdb gurus shed some light on debug software stacks in
debugging software that runs on one of the mentioned pcie devices?

Thanks in advance,

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

end of thread, other threads:[~2021-02-01  9:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26  6:48 GDB with PCIe device Rajinikanth Pandurangan
2021-01-08 15:17 ` Simon Marchi
2021-01-11  9:31   ` Aktemur, Tankut Baris
2021-01-21  8:08     ` Rajinikanth Pandurangan
2021-01-27 16:00       ` Metzger, Markus T
2021-02-01  9:27         ` Aktemur, Tankut Baris

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).