This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 02/14] add gcc/gdb interface files
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 19 May 2014 07:52:52 -0600
- Subject: Re: [PATCH 02/14] add gcc/gdb interface files
- Authentication-results: sourceware.org; auth=none
- References: <1400253995-12333-1-git-send-email-tromey at redhat dot com> <1400253995-12333-3-git-send-email-tromey at redhat dot com> <5379BADD dot 8080205 at codesourcery dot com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Tom> The gcc plugin is split into two parts. One part is an ordinary gcc
Tom> plugin. The other part is a shared library that is loaded by gdb.
Yao> What is the ordinary gcc plugin? I notice that patch 14/14 dlopen
Yao> libcc1.so, so I assume that is the latter you are talking about here.
Yao> Am I missing something?
You have to look at the gcc patch series to see the plugin.
That series adds a new top-level directory to the gcc repository.
This directory holds the code for two shared libraries: one is a GCC
plugin and the other is libcc1.so, which is loaded by gdb. libcc1.so
communicates with the GCC plugin.
Tom