Re: [Fwd: Re: Kernel with debugging info]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2002-05-17 at 09:43, Juan Antonio García Redondo wrote:
> Frank Schaefer wrote:
> 
> > On Fri, 2002-05-17 at 08:04, Juan Antonio García Redondo wrote:
> > I used ``make oldconfig'' after patching the kernel. Just now I've
> > running the build in the test machine ( I built on the devel machine and
> > copied the kernel to the test machine ).
> > If this finishes I'll try to start the debugkernel without the appends
> > first -- but can you tell me where to get the ``startkgdb'' program. I
> > couldn't find it on Google, kernel.org, freshmeat or slashdot.
> 
> 
> 
> The startkgdb program comes with the kgdb patch. You can find it at:
> 
> 	/usr/src/linux/arch/i386/kernel/startkgdb
> if you have compiled with debugging serial options.
> 
> Take a look to:
> 		/usr/src/linux/Documentation/i386/gdb-serial.txt
> for further information.
> 
> Regards,
> 	Juan Antonio

Hi Juan,

I've solved it. The problem was of some other kind. The .config of the
plain kernel was a configuration with kernel debugging already enabled
(SysRq ...). After the ``make oldconfig'' in the patched kernel tree
I've added the kgdb switches. This broke nearly everything.
If I have ONLY the kgdb related debug options enabled all goes fine.

BTW: The ``startkgdb'' program is ``gdbstart''.

Thanks for your hints
Frank


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux