This is the mail archive of the gdb@sourceware.cygnus.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]

Re: problem with register display


"Frank Ch. Eigler" wrote:

> > And, how do I from gdb call the `sim_infoŽ function?  [...]
> 
> I see no gdb command that hooks to this function.  But, one is not
> hard to add.  Look up the sim option processing functions.  They work
> from both within gdb (using the "sim" command prefix) and the sim
> command line (as long --options).

Try ``info target'' (or ``info files'').

Looking in gdb/remote-sim.c it would appear that sim_info() is called
conditional on there being an executable.  I can't think why.

	Andrew

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