Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* reset command for GDB
@ 2003-01-09 21:22 Benjamin Tze-Kit Lee
  2003-01-09 23:07 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Tze-Kit Lee @ 2003-01-09 21:22 UTC (permalink / raw)
  To: gdb

Hi all,

I am using GDB to remotely debug on a board that runs an ARM processor.  
Everything seems to be working for now but I don't know how to reset the 
board and halt it at the beginning of the program where I want it to be?  
Is there a way to reset the board and let it halt at the beginning of the 
program?  I was thinking "run" might do it but then I found out that it 
only works on non-remote debug program.

Thx a lot for your help.

Ben


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

* Re: reset command for GDB
  2003-01-09 21:22 reset command for GDB Benjamin Tze-Kit Lee
@ 2003-01-09 23:07 ` Andrew Cagney
  2003-01-17 14:52   ` "extended-remote" [Was: reset command for GDB] Fernando Nasser
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2003-01-09 23:07 UTC (permalink / raw)
  To: Benjamin Tze-Kit Lee; +Cc: gdb

> Hi all,
> 
> I am using GDB to remotely debug on a board that runs an ARM processor.  
> Everything seems to be working for now but I don't know how to reset the 
> board and halt it at the beginning of the program where I want it to be?  
> Is there a way to reset the board and let it halt at the beginning of the 
> program?  I was thinking "run" might do it but then I found out that it 
> only works on non-remote debug program.
> 
> Thx a lot for your help.

Play with `target extended-remote'.

Andrew



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

* "extended-remote" [Was: reset command for GDB]
  2003-01-09 23:07 ` Andrew Cagney
@ 2003-01-17 14:52   ` Fernando Nasser
  2003-01-17 16:02     ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Fernando Nasser @ 2003-01-17 14:52 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

Isn't it time to make "remote" and alias of "extended-remote" (mark that as 
deprecated) and make the current old "remote" as "legacy-remote"?

Regards,
Fernando

Andrew Cagney wrote:>> Hi all,
>>
>> I am using GDB to remotely debug on a board that runs an ARM 
>> processor.  Everything seems to be working for now but I don't know 
>> how to reset the board and halt it at the beginning of the program 
>> where I want it to be?  Is there a way to reset the board and let it 
>> halt at the beginning of the program?  I was thinking "run" might do 
>> it but then I found out that it only works on non-remote debug program.
>>
>> Thx a lot for your help.
> 
> 
> Play with `target extended-remote'.
> 
> Andrew
> 
> 



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


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

* Re: "extended-remote" [Was: reset command for GDB]
  2003-01-17 14:52   ` "extended-remote" [Was: reset command for GDB] Fernando Nasser
@ 2003-01-17 16:02     ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2003-01-17 16:02 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: gdb

> Isn't it time to make "remote" and alias of "extended-remote" (mark that as deprecated) and make the current old "remote" as "legacy-remote"?

remote.c needs to be modified so that it probes (!) for extended 
support.  last time I tried it, I went down a rat hole and ended up 
fixing something else (adding a context to the cli commands?).

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=97

> Regards,
> Fernando
> 
> Andrew Cagney wrote:>> Hi all,
> 
> I am using GDB to remotely debug on a board that runs an ARM processor.  Everything seems to be working for now but I don't know how to reset the board and halt it at the beginning of the program where I want it to be?  Is there a way to reset the board and let it halt at the beginning of the program?  I was thinking "run" might do it but then I found out that it only works on non-remote debug program.
> 
> Thx a lot for your help.
> 
> 
> Play with `target extended-remote'.
> 
> Andrew
> 
> 
> 
> 
> 
> -- 
> Fernando Nasser
> Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
> 2323 Yonge Street, Suite #300
> Toronto, Ontario   M4P 2C9
> 
> 



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

end of thread, other threads:[~2003-01-17 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09 21:22 reset command for GDB Benjamin Tze-Kit Lee
2003-01-09 23:07 ` Andrew Cagney
2003-01-17 14:52   ` "extended-remote" [Was: reset command for GDB] Fernando Nasser
2003-01-17 16:02     ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox