bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on oskit-mach and serial debugging


From: Daniel Wagner
Subject: Re: More on oskit-mach and serial debugging
Date: Tue, 10 Jul 2001 17:03:20 +0200
User-agent: Mutt/1.2.5i

Hi Igor!

On Sun, 08 Jul 2001, Igor Khavkine wrote:

> I'll try to investigate and see where exactly the problem lies. But I'd
> like to know about the capabilities of serial debugging. For example
> I wasn't able to step through the code line by line or instruction
> by instruction. I always got the message "Skipping to the end
> of function <blah>, since it contains no line number information".
> This is strange because I did compile everything with -g. So is
> it possible to step through the code line by line? Also is it
> possible to examine the contents of local variables?

I also had a hard time to set up serial line debugging. I found that
old gdb version do not work properly. You may update your gdb to latest
release or even to cvs version. Then you can debug like every other
program in gdb. Of course you can use ddd or emacs as frontend :)

> Also, pardon my ignorance :-) but what's the command to log a GDB
> session to a file?

script gdb ...

wagi

-- 
Daniel Wagner
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]