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]

Re: remote gdb: reboot system(Linux)


> You can set pc to machine_restart function and continue.
> That will immediately reboot the machine.
> 
> kgdb (http://kgdb.sourceforge.net/) doesn't yet support
> gdb remote protocol packets kill, attach and detach.
> 
> I'll add it whenever I get some time.


Before adding anything I'd carefully read the remote protocol doco, 
especially where it says ``deprecated'' or ``obsolete''.

You may also be interested in the qRcmd packet which allows the user to 
send across arbitrary commands (via ``(gdb) monitor ...'').

	Andrew




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