route(8) broken?

Diane Bruce db at db.net
Tue Jul 30 01:16:30 UTC 2013


On Mon, Jul 29, 2013 at 09:07:45AM -0600, Warner Losh wrote:
> 
> On Jul 28, 2013, at 3:26 PM, Tim Kientzle wrote:
> > Unrelated:  have you had any luck using native gdb?
> > 
> > I started to try to debug the route failure and gdb
> > is acting a little strange.  Everytime I hit 'n' it just
> > runs to completion, occasionally with complaints about
> > missing debug information.  (Yes, the binary in
> > question does have debug information and when
> > I set a breakpoint it will stop and show the related
> > source.)
> > 
> > I suspect it might be related to gdb not recognizing
> > the language:
> > 
> >   "Current language:  auto; currently minimal"
> 
> -O2 fallout? I've had to remove -O anything at times when debugging on arm because our tools don't generate good debugging info when things are highly optimized.
> 
> Warner
> 

Not had problems with gdb.
What I have done is compile a version of libc.a with my jemalloc hacks
compiled with -g and linked sshd against only that version of libc.a

Works like a charm. Tim I have a few more notes about jemalloc I'll
email directly. 


- Diane
-- 
- db at FreeBSD.org db at db.net http://www.db.net/~db


More information about the freebsd-arm mailing list