This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: problem with register display
- To: "Frank Ch. Eigler" <fche at cygnus dot com>
- Subject: Re: problem with register display
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 10 Mar 2000 00:03:38 +1100
- CC: gdb at sourceware dot cygnus dot com, johan dot rydberg at netinsight dot se
- Organization: Cygnus Solutions
- References: <38C6691D.C3F05223@netinsight.se> <o566uxjty7.fsf@toenail.to.cygnus.com>
"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