public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* RFC: Changes to the "Run" button behavior
@ 2000-11-09 16:21 Fernando Nasser
  2000-11-09 16:49 ` Steven Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Fernando Nasser @ 2000-11-09 16:21 UTC (permalink / raw)
  To: insight

There are situations where GDB is being used to debug ROM code
(BIOS for instance) and there is no executable involved.
The programmer is just doing assembler level debugging, with no
symbols, just plain raw binary data -- like in the god olde times :-)

Regardless of what you say in the Target Selection dialog, the 
"Run" will ask for a file if you press the button.
The user has to either use the continue button or specify a dummy exec
file just to placate this piece of code.
It is sort of annoying having the RUN button in there but not being able
to use it, specially because it turns into the STOP button that you may
want to press and you end up having to race with the mouse.

I think it should require the executable file only if the target is "native".
If the target is remote, the "Load" code is the one that should require
the file to be present.

In this case, the user will not load anything, and will unset the "load"
option in the Target Selection dialog, so it will be able to use the RUN 
button.


Any objections?





-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFC: Changes to the "Run" button behavior
  2000-11-09 16:21 RFC: Changes to the "Run" button behavior Fernando Nasser
@ 2000-11-09 16:49 ` Steven Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Johnson @ 2000-11-09 16:49 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: insight

Fernando Nasser wrote:
> 
> 
> In this case, the user will not load anything, and will unset the "load"
> option in the Target Selection dialog, so it will be able to use the RUN
> button.
> 
> Any objections?
> 

Sounds good to me.

Steven.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-09 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-09 16:21 RFC: Changes to the "Run" button behavior Fernando Nasser
2000-11-09 16:49 ` Steven Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).