06-08-2011
I thought the gnu debugger was gdb?
This User Gave Thanks to DGPickett For This Post:
9 More Discussions You Might Find Interesting
1. Programming
Hi all,
is it possible to skip a function with the wdb debugger ?
could be helpful instead of compiling the whole bunch again
does someone know how to do this ?
thx
Sven (4 Replies)
Discussion started by: Sven28
4 Replies
2. UNIX for Advanced & Expert Users
hi ,
does anybody know about where to get kernel debugger for linux kernel version 2.6.11.
I found it in oss.sgi.com.But there i have to download through ftp,which is not enabled here.
So can anybody tell where can i get kdb(kernel debugger)through http.
thanks in advance
sriram (0 Replies)
Discussion started by: sriram.ec
0 Replies
3. UNIX for Advanced & Expert Users
hi,
I want to have a debugger for my kernel and
I am using kernel-2.6.11 n i am having patches
kdb-v4.4-2.6.11-common-1.bz2
kdb-v4.4-2.6.11-i386-1.bz2.
I applied both.
I did make menuconfig with options
CONFIG_KDB n CONFIG_FRAME_POINTER being set.
when i tried to compile kernel. I got an... (0 Replies)
Discussion started by: sriram.ec
0 Replies
4. UNIX for Dummies Questions & Answers
hello
i'm working on cobol with unix
just want to know if there is any command in unix that related to debugger
i've been told something like anim command
i try to search for man anim
result :ERROR: Manual entry does not exist for page anim
does anyone have an answer ?
another thing ... (1 Reply)
Discussion started by: naamas03
1 Replies
5. Programming
I'm tracking down a stupid computer bug. I'm just sort of curious why
'/0' string won't show up after I add it. Here is the code snippet
void *allocate_string_array(size_t len, char *line, char **strarr)
{
int count = 0;
if( (len+1) < MAXLINE) {
if((strarr=malloc(sizeof(line) +... (7 Replies)
Discussion started by: frequency8
7 Replies
6. Programming
Hi,
can somebody advise on a better multiprocess debugger?
I heard with gdb we face lots of problems in multiprocess scenario
currently i am using gdb debugger for a single process multithreaded project..
since i am supposed to work on a multiprocess now, i googled and came across... (1 Reply)
Discussion started by: rvan
1 Replies
7. Programming
I'm a C newbie using gcc. I wrote a program but a part of it outputs gibberish onto the terminal. Its weird because identical parts of the program work correctly in another program I wrote :confused:. My program uses c99 + some POSIX headers. It compiles with no errors/warnings even though I have... (15 Replies)
Discussion started by: cyler
15 Replies
8. Programming
I have tried lots of stuff but i can't get it working, i have also found a Thread in this Forum about it but it didn't describe how the program has to be run ect.
My issue is that i want to run a program with multiple arguments eg.
./myprog arg1 arg2 arg3 arg4 arg5
with dbx, but i cant get... (8 Replies)
Discussion started by: alcatros
8 Replies
9. Solaris
I want to debug my csharp project on solaris. Is anyone can tell me a program or anything else for this?? (0 Replies)
Discussion started by: dConstantine
0 Replies
IPKDB(4) BSD Kernel Interfaces Manual IPKDB(4)
NAME
ipkdb -- IP-based kernel debugger
SYNOPSIS
options IPKDB
options IPKDBSECURE
options IPKDBKEY=""IPKDB key for remote debugging""
options IPKDB_NE_PCISLOT=x
DESCRIPTION
ipkdb is a kernel debugger that uses UDP and IP to communicate with a remote debugger (normally gdb(1)).
Since the debugger uses its own driver to talk to the networking hardware, the number of supported network interfaces is a lot less than what
is supported by the kernel. At the time of this writing, there is only support for a NE2000 compatible card in a PCI slot. In order for
ipkdb to find your card, you need to specify the slot the card is in via the options IPKDB_NE_PCISLOT.
To use ipkdb, you have to set up a DHCP server, from which ipkdb can get the IP address for the interface that is used for debugging.
To enter ipkdb, the remote debugger has to send the protocol start packet. E.g., gdb will do this on the command
target ipkdb debuggee IPKDB key for remote debugging
where debuggee is the name of the machine to debug (which must resolve to the IP address of the interface), and the rest of the line corre-
sponds to the definition of IPKDBKEY (see below). For ipkdb to actually see this packet, the interface which is used for debugging has to be
set up to actually receive packets, i.e. it has to be up and running.
To prevent messing around with a secured system, ipkdb normally also checks the security level at which the kernel is running. ipkdb will
only work with security levels less than 1, unless the kernel is configured with options IPKDBSECURE.
In addition, the debugger is forcedly entered on a panic, as well as on initial startup, if you boot the kernel with the -d option (note that
this however is machine dependent). On such a forced enter to ipkdb there is no need for the interface in question to already be up and run-
ning, since ipkdb only needs to send/receive packets via its own driver.
As some form of security against the occasional hacker, ipkdb uses the definition of options IPKDBKEY to compute a checksum on the data in
every packet. The remote debugger has to send this checksum, based on the data it sends and the key, or ipkdb ignores the packet. This is
also used in order to check against data errors on the connection.
SEE ALSO
gdb(1), ddb(4), ip(4), udp(4), init(8)
HISTORY
ipkdb appeared in NetBSD 1.3 for the first time. Its configuration and setup changed quite a bit in NetBSD 1.5.
BUGS
Since the kernel includes the definition of IPKDBKEY, anyone who can read the kernel can extract it and use it to enter ipkdb.
There is no support for ip6(4).
BSD
March 27, 2000 BSD