This is the mail archive of the gdb@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: ui-out question



It's not that big of a problem but it's inconvenient.  I'm monkeying around
with our target_create_inferior hook so that it will load a different
executable (set by the user) when the run command is issued.  I'd like to
report that to the user along the lines of:

Starting program: /cygdrive/k/test/float.x86
Remote: /home/kewarken/61/test/float.x86

The only problem is that targ_create_inf doesn't take a from_tty argument so
my only option is just to print it blindly.  I thought it would be nice if
the ui_out functions would automatically censor themselves if need be.

For the moment, just send it to gdb_stdout using ui_file.


Andrew



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