I can find only one other posting of this problem in the archives.  And you're
right -- there's not suggested solution or workaround.

I can also see the check being performed in the PalmDebugger source code.  It's
deriving a line count from two different parts of the generated symbol
information and comparing them, displaying the error if they don't match.

Offhand, I couldn't guess why there would be a mismatch.  But a SWAG would be to
turn off the -O2 flag and see if that helps.

-- Keith Rollin
-- Palm OS Emulator engineer






Billy Cole <[EMAIL PROTECTED]> on 01/07/2001 03:02:00 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Billy Cole <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  "Bad line count" reading symbol file



PalmDebugger.exe is complaining about a "Bad line count" when I try to load
my symbol file. I've seen this discussed, but there was no solution
mentioned (that I saw).


I'm compiling with:

     CC = m68k-palmos-gcc
     CFLAGS = -O2 -Wall

     $(CC) $(CFLAGS) -g -DDEBUG -palmos3.5 -c $< -o $@

linking with:
     $(CC) $(CFLAGS) $(objs) -g -DDEBUG -palmos3.5 -o "$@".code.1.sym.

My compiler ver is:
     gcc version 2.95.2-kgpd 19991024 (release)

And my PalmDebugger version is:
      3.5 (02/24/2000  06:29p 450,560 PalmDebugger.exe)


What's up with this? It's driving me nutso. Thanks,

Billy





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to