Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* What role does gdb/remote.c play?
@ 2011-08-15  9:08 yongyong.yang
  2011-08-15 10:10 ` Pedro Alves
  0 siblings, 1 reply; 12+ messages in thread
From: yongyong.yang @ 2011-08-15  9:08 UTC (permalink / raw)
  To: gdb

Hey, everyone.
 
Recently I am trying to port gdb for a remote target. I use remote-m32r-sdi as start point.
when I debug it, I find the global variable current_target has the value specified in remote.c, 
furthermore I find the generated file init.c has both initialize_XXX() and _initialize_remote() , 
where XXX is the target I specified for my target.
 
So when I run command 'target remote localhost:[port]', it is remote_open() that handles the argument and etc.
 
Can someone explain what is wrong. Thank you.






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

end of thread, other threads:[~2011-08-15 20:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15  9:08 What role does gdb/remote.c play? yongyong.yang
2011-08-15 10:10 ` Pedro Alves
2011-08-15 11:51   ` Triple Yang
2011-08-15 13:32     ` Pedro Alves
2011-08-15 15:10       ` Triple Yang
2011-08-15 15:26         ` Andrew Burgess
2011-08-15 17:48           ` Triple Yang
2011-08-15 15:28         ` Pedro Alves
     [not found]           ` <CAGxstLS4BjPZOatfSMMUiVNpOyd9gVzdVXbzqUqBzvb1M9gsjw@mail.gmail.com>
2011-08-15 17:54             ` Triple Yang
2011-08-15 15:46         ` Petr Hluzín
2011-08-15 18:20           ` Triple Yang
2011-08-15 20:13             ` Petr Hluzín

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