This is the mail archive of the gdb-patches@sourceware.org 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: [RFC-v3] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)


On 11/22/2012 05:30 PM, Joel Brobecker wrote:
>> > +  if (debug_coff_pe_read > 1)
>> > +    printf_filtered (_("Adding exported symbol \"%s\" in dll \"%s\"\n"),
>> > +		     sym_name, dll_name);
> Can you use printf_unfiltered for debug traces? There are several
> instances of this...
> 

Better yet, "fprintf_unfiltered (gdb_stdlog, ".

-- 
Pedro Alves


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