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: [patch]: 2 more needed changes for sim-fpu.c & psim


>  I'm puzzled by some of the includes.  Well "defs.h" to be honest.   I 
>    know the PPC has a nasty hack so that it can access the GDB register 
>    names but I'm not sure that main.c - a standalone program - should 
>    include "defs.h".
> 
> main.c doesn't need defs.h, right.
>    
>    I think the error stuff should go to stderr.
> 
> hmm, i choose stdout because the "error" function a couple of pages
> above does the same...


Ah, ok then.


>    From memory, for the sim_call.c, the error stuff should go to the callback.
> 
> OK, i've done this..  how's this?
> 
> 
> 
> 	* main.c: Include "bfd.h", "callback.h" and "remote-sim.h".
> 	(sim_io_error): New function.
> 	* sim_calls.c: (sim_io_error): New function.
> 

Yes fine.

Thanks!
Andrew




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