Re: Missing a step in new(er) Remote gdb/kdb setup?

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Thu, 4 Aug 2005 09:22:14 -0700
On Aug 4, 2005, at 8:40 AM, Lonnie VanZandt wrote:

> Marcel Moolenaar - or anyone who has properly setup the new remote
> gdb/kdb,
>
>        You are, I believe, the programmer for the revised remote  
> kernel debug
> interface in FreeBSD 5.4. If so, perhaps you could advise me on why  
> I might
> be receiving a "Ignoring packet error, continuing..." at startup  
> from a
> command like:
>
>        kgdb -r /dev/cuaa0 /tmp/kernel.debug

In my case those are caused by protocol time-outs. This typically  
happens
when I start kgdb before I switch the kernel over to the GDB backend.  
It's
a GDB problem. I just retry and everything is ok.

> Is there a serial port baud rate setting I need to revise?

Don't know. I never use sio(4). I always use uart(4).

> Also, how do I get rid of the libthread_db.so undefined symbol  
> reference to
> ps_pglobal_lookup?

You can't. It's a bug. The bug is mostly that libthread_db.so is loaded
when it shouldn't. I didn't write that code.

-- 
  Marcel Moolenaar         USPA: A-39004          marcel_at_xcllnt.net
Received on Thu Aug 04 2005 - 14:22:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC