From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Amit S. Kale" To: "Michael S. Miles" Cc: gdb@sources.redhat.com Subject: Re: remote gdb: reboot system(Linux) Date: Tue, 24 Jul 2001 02:12:00 -0000 Message-id: <3B5D3985.9550C07B@veritas.com> References: X-SW-Source: 2001-07/msg00335.html 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. "Michael S. Miles" wrote: > > I do a lot of Linux remote kernel debugging over serial lines. I will now > be doing even more of this only the debugger and target system will be at a > remote site. > > In a previous life I did a lot of NT kernel debugging with windbg and it had > a command called ".reboot" which if made in windbg would actually cause a > reboot of the target system. I really need this same capability in gdb when > debugging Linux. I know that a lot of this functionality was probably > provided in the kernel, but I thought someone might know if this presently > exists or what would be involved with providing it. > > thanks for any help or info, > michael -- Amit Kale Veritas Software ( http://www.veritas.com )