This is the mail archive of the gdb-patches@sources.redhat.com 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: coffread.c extension for DLLs without debugging symbols


Christopher Faylor <cgf@redhat.com> writes:

>>>2) I wonder if this code should be ifdef'ed somehow for Windows since
>>>it will add extra code for no gain on every COFF platform.  Of course,
>>>how many of those are there out there?  Maybe this isn't a huge issue
>>>after all.
>>
>>I wondered about that myself.  However, wouldn't that suggest putting
>>the bulk of the code somewhere like win32-nat.c?
>
> That would be fine with me (especially since I can approve that part of
> gdb).  So, you'd need some kind of hooks in coffread.c to handle this.
> I guess we should wait for the coffread maintainer to offer an opinion
> before you go to this effort, though.

Well, I assume this code would be usefull when cross-debugging too.
If so, a *-nat.c file would be the wrong place to add it.  You could
create a win32-tdep.c file though.

Mark


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