From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Amit S. Kale" To: Andrew Cagney Cc: "Michael S. Miles" , gdb@sources.redhat.com Subject: Re: remote gdb: reboot system(Linux) Date: Wed, 25 Jul 2001 05:33:00 -0000 Message-id: <3B5EBD61.6B0F0117@veritas.com> References: <3B5D3985.9550C07B@veritas.com> <3B5E1147.70005@cygnus.com> X-SW-Source: 2001-07/msg00359.html Andrew Cagney wrote: > > > 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''. I'll keep that in mind. I haven't looked at remote protocol doc in ages. I need to do the excercise of going through the doc and chage deprecated functionalities sometime. > > You may also be interested in the qRcmd packet which allows the user to > send across arbitrary commands (via ``(gdb) monitor ...''). Great! I have been using maintenance packets. monitor command is much better. Thanks for your suggestions. -- Amit Kale Veritas Software ( http://www.veritas.com )