From: Serge G. <s_g...@ma...> - 2006-03-23 14:50:36
|
> 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 |