This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFA-v3] win32-nat.c: Add dll names if debugevents is on
Hi Christopher,
I don't debug dynamically linked executables
on other systems than Windows, thus I can't answer your question.
The reason for adding this is simple:
the change only affects debugevents option,
which is off by default, thus I want that debug option to
give me as useful information as possible.
But until now, we get an EVENT for dll loading,
but we do not know which dll was loaded, and idem for unloading.
The added value of this patch is that you can see
which dll were loaded/unloaded without need to interrupt the
debuggee and use 'info dll'.
It might be a good thing to have the same for other targets,
but this is not my priority...
I mainly use cygwin/mingw32 gdb and I am trying to
get better results for those targets.
Pierre Muller
Pascal language support maintainer for GDB
-----Message d'origine-----
De?: gdb-patches-owner@sourceware.org
[mailto:gdb-patches-owner@sourceware.org] De la part de Christopher Faylor
Envoyé?: Monday, June 16, 2008 12:54 AM
À?: gdb-patches@sourceware.org
Objet?: Re: [RFA-v3] win32-nat.c: Add dll names if debugevents is on
On Sat, Jun 14, 2008 at 01:07:12AM +0200, Pierre Muller wrote:
> Thanks Pedro,
>
> this is my trouble as I am mainly a pascal programmer:
>I am always lost in implicit typecast/conversion rules :(
>
> The patch is thus even simpler:
I guess my basic question here is why is this needed at all? Does
the non-windows version of gdb have something similar? If so, this
should be patterned after that. If not, why is Windows special?
cgf