> In my experience, it stops on some breakpoints and not on others (for 
> instance 
> it doesn't break on panic). You may see if attaching to an already running 
> UML rather than starting it under GDB makes a difference ("gdb kernelBinary" 
> and "attach <pid>", where PID is the lowest one between the running procs).
> 
> It's a problem I have since some time which I never solved - I guess that 
> I'll 
> have to make a bugreport to GDB.

thanks, I tried attaching and this helped!
 
> > kernel compiled with debug info,
> 
> > without all the -Ox switches 
> 
> On this you're likely lying, as it's not possible to enable normally and 
> there 
> are various things which shouldn't compile if you disable -Ox. This is not 
> the problem, however.

here are my gcc parameters from Makefile:

HOSTCFLAGS      = -Wall -Wstrict-prototypes -g -fomit-frame-pointer -finline

CFLAGS          := -Wall -Wstrict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common -finline -g \
                   -ffreestanding

...and everything compiles ok!


happy spring!

Serge Goodenko
MIPT, Moscow
Russia


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to