This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Improving GDB's mechanism to check if function is GC'ed
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>, Taimoor <tmirza at codesourcery dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 10 Jun 2015 13:06:53 +0100
- Subject: Re: Improving GDB's mechanism to check if function is GC'ed
- Authentication-results: sourceware.org; auth=none
- References: <556DB1BB dot 50601 at codesourcery dot com> <86eglkeyfw dot fsf at gmail dot com> <55780EB4 dot 1070003 at redhat dot com>
On 10/06/15 11:17, Pedro Alves wrote:
Hmm, does it really need to, though? We expose mechanisms like
add-symbol-file, xml library list with qXfer:libraries:read (the default
solib provider), xml target descriptions, "info os", etc., exactly so
that GDB doesn't have to learn about the myriad of random RTOS's out there.
If these stuffs (add-symbol-file, xml library list, etc) works well for
the given RTOS, and GDB doesn't need to know about the RTOS, that is
fine. However, in this case, Nucleus needs some changes in GDB c code
while GDB doesn't support Nucleus. I can't see how this patch benefits
any targets GDB supported. This is the reason I think this patch is
not acceptable.
--
Yao (éå)