Re: gdb able to debug both fbsd and linux binaries

2006-07-10 Thread Alexander Kabaev
On Sun, 9 Jul 2006 11:46:53 +0200
Divacky Roman [EMAIL PROTECTED] wrote:

 hi,
 
 is it able to somehow make gdb be able to debug fbsd and linux
 binaries at the same time? I mean.. alter somehow the way its built
 in buildworld or something
 
 thnx
 
 roman
  
 --
 www.liberalnistrana.cz

Just use Linux gdb to debug Linux binaries. Unless something broke
recently, it should work fine.

-- 
Alexander Kabaev


signature.asc
Description: PGP signature


Re: gdb able to debug both fbsd and linux binaries

2006-07-10 Thread Greg 'groggy' Lehey
On Sunday,  9 July 2006 at  7:52:32 -0400, Alexander Kabaev wrote:
 On Sun, 9 Jul 2006 11:46:53 +0200
 Divacky Roman [EMAIL PROTECTED] wrote:

 is it able to somehow make gdb be able to debug fbsd and linux
 binaries at the same time? I mean.. alter somehow the way its built
 in buildworld or something

 Just use Linux gdb to debug Linux binaries. Unless something broke
 recently, it should work fine.

This used to work, even for kernel debugging.  If it doesn't any more,
it's a regression.

Greg
--
See complete headers for address and phone numbers.


pgpShSa0ZlYJr.pgp
Description: PGP signature


gdb able to debug both fbsd and linux binaries

2006-07-09 Thread Divacky Roman
hi,

is it able to somehow make gdb be able to debug fbsd and linux binaries at the
same time? I mean.. alter somehow the way its built in buildworld or something

thnx

roman


--
www.liberalnistrana.cz
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdb able to debug both fbsd and linux binaries

2006-07-09 Thread Kip Macy

They have quite different ptrace interfaces, the binaries will have
different elf brands, etc. Making a single GDB work on both would
require a great deal of FreeBSD specific surgery on GDB.
   -Kip

On 7/9/06, Divacky Roman [EMAIL PROTECTED] wrote:

hi,

is it able to somehow make gdb be able to debug fbsd and linux binaries at the
same time? I mean.. alter somehow the way its built in buildworld or something

thnx

roman


--
www.liberalnistrana.cz
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]