This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: [?]gdb-stub


>>>>> JauMing Tseng writes:

> serious question:
> is it possible to use gdb-stub to debug an os
>  (e.g. linux) which is being ported to a new target?

> if not, how to debug an os (e.g. linux)
>  which is being ported to a new target?

> thx in advanced!:)

> ===
> --
> Regards,
> Kevin.:)
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

There is a gdb stub in mips-linux and in sparc-linux kernel
code. You have to have the kernel booting far enough to
initialize the serial driver, then you can attach from a
remote host.

--Mark