Makefile changes for symbols

Rodney.Kittleson at bench.com Rodney.Kittleson at bench.com
Fri Oct 22 08:34:00 CEST 2004


I have an offset of 4000 for "linuxbios_c.o".  "linuxbios_c" has the
correct addresses and as far as I can tell "linuxbios_c" has all the
symbols "linuxbios_c.o" has.

I just upgraded SP to 7.0.0, source still isn't loaded. Could you give
me a step by step?

Thanks,
Rod

-----Original Message-----
From: Kimball, Stephen 
Sent: Friday, October 22, 2004 8:04 AM
To: Kittleson, Rodney C.; linuxbios at clustermatic.org
Cc: Jeff_Pitts at arium.com
Subject: RE: Makefile changes for symbols


Rod,

I'm using Source Point 7.0.0.  I can see the source files.  I can
display source, disassembly or mixed.  However, the disassembly doesn't
match up with the source code.  There is a way to give Source Point an
offset when the symbols are loaded, but I can't seem to get the right
value.  I know the address of _start and __protected_start but these
labels are not in linuxbios_c.o.  I need to find the location of a
symbol in linuxbios_c.o to compute the offset.

Steve 

-----Original Message-----
From: Kittleson, Rodney C. 
Sent: Thursday, October 21, 2004 5:42 PM
To: Kimball, Stephen; linuxbios at clustermatic.org
Cc: Jeff_Pitts at arium.com
Subject: RE: Makefile changes for symbols

Steve, 

What version of Source point are you using? The symbols are coming in
but SourcePoint doesn't allow me to reference the source files.

I mapped the linuxbios directory on my Win2000 system for SourcePoint to
access.  (I have samba running on my linux system) I just need to get
SourcePoint working.

Thanks,
Rod

-----Original Message-----
From: Kimball, Stephen 
Sent: Wednesday, October 20, 2004 1:04 PM
To: Kittleson, Rodney C.; linuxbios at clustermatic.org
Cc: Jeff_Pitts at arium.com
Subject: RE: Makefile changes for symbols


The file under your target in normal/linuxbios_c.o seems to have all the
symbols if you add "-gdwarf-2" to the $CFLAGS in the Makefile.  Then
when you open the first C module the SourcePoint software asks where the
file exists, after you tell SourcePoint it seems to find the rest by
itself.  I recreated the same Linux directory structure on Windows.
Thanks Rod!

Steve  

-----Original Message-----
From: Kittleson, Rodney C. 
Sent: Wednesday, October 20, 2004 11:47 AM
To: Kimball, Stephen; linuxbios at clustermatic.org
Subject: RE: Makefile changes for symbols

Linuxbios_c, from the build directory, can be sucked into Sourcepoint to
extract the symbols. This allows the disassembled instructions to
display the symbols inline. It makes it easier to set breakpoints and
follow the code, but it's a far cry from source level debugging.  

I haven't attempted to link the source with sourcepoint yet. I may try
it later this week, let me know if you have any success.

Rod

-----Original Message-----
From: Kimball, Stephen 
Sent: Tuesday, October 19, 2004 3:33 PM
To: linuxbios at clustermatic.org
Subject: Makefile changes for symbols



Can someone give me the Makefile changes to make a LinuxBIOS with
symbols?  I tried adding "-gdwarf-2" to CFLAGS, but I'm not sure where
the unstripped output would be.  

Are there any features in the code that are useful in debugging
LinuxBIOS? Any defines that should change as well?

Someone must have some experience with source code level debugging of
LinuxBIOS with an American Arium ECM-50.  Thanks.

Steve Kimball
Benchmark Electronics
Hudson, NH 
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios



More information about the coreboot mailing list