This is the mail archive of the
mailing list for the GDB project.
Re: coffread.c extension for DLLs without debugging symbols
Christopher Faylor <firstname.lastname@example.org> 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
>>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.