This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING] [PATCH v3] gdb: ADI support




On 7/11/2017 5:43 PM, Pedro Alves wrote:
On 07/12/2017 01:36 AM, Weimin Pan wrote:
Simply using target_fileio_xxx routines to replace their
corresponding open/pread64/pwrite64/close calls, as you
suggested, does solve the cross-referencing problem.
The cross gdb build for all targets was then retried and
was successful.
Great.  If you can make sure that the new test runs
FAIL free against gdbserver too, that'll be super.

OK, will give it a try.

Note that this /proc reading won't work with core debugging,
of course.  If it makes sense to inspect ADI state in core
dumps, and the info is actually available in the cores, the
target_object / target_xfer path may be the way to go.
But that can be left for later if you'd like.

Thanks for pointing it out and will keep that in mind. Dumping ADI state to a core file, most likely in a separate ELF section, is planned for the next phase. Until that's done, ADI information will only be available for live processes.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]