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: The value of inferior_ptid for remote debugging targets


On Tue, Oct 08, 2002 at 06:55:41PM +0100, Dan Towner wrote:
> >Are you hitting the code in remote_open_1:
> 
> No.
> 
> >Or, it sounds like you're using your own remote protocol module.  If so
> >that's probably the bit you're missing.
> 
> I copied it from remote_e7000.c. Would it be missing from that as well? 
> Do I have to explicitly set inferior_ptid with some sensible values?

Bad choice of example code.  I recommend you read through remote_open_1
in remote.c.  Yes, you do.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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