Peter,
I had a bit of trouble with this too. This may not be your problem right now
(although I suspect so), although you will hit it eventually. It appears that
GDB expects the source filename to be in UNIX file format, not DOS. This means
you need to do the compile step at the least using the BASH shell, not a DOS
shell.
You can do this quite easily by specifying a command file to the BASH
executable, the command file containing the compile steps you need.
Alternatively you can type it in by hand each time, or even better get a Unix
environment set up so you can use make (no I couldnt be bothered doing this
either !).
As I say you may have another problem right now (like your prc file is missing
?), as per the other replies, but you will eventually come unstuck on this on I
think.
Colin
Subject: Re: Debugging with GDB !
From: Peter <[EMAIL PROTECTED]>
Date: Fri, 06 Jul 2001 12:00:42 +0530
X-Message-Number: 85
Hi Warren,
I'm running Windows in my System and the Example u told , they have given
is for Unix system .
Below is my batch file for compiling.
/////////
m68k-palmos-gcc hello.c -o hello.o -g -palmos3.5
Build-prc hello.prc "hello" PET hello.o
/////////
FIRST DATA - CONFIDENTIAL COMMUNICATION
===========================================
"All rights reserved. No part of this e-mail or any documents attached may be
reproduced or transmitted, by any form or by any means, without prior writen
consent of First Data."
This e-mail and any files transmitted with it are intended solely for the use of
the individual or entity to whom it is addressed. If you ar enot the intended
recipient by advised that you have received this e-mail in error and that any
use, dissemination, forwarding, printing, or copying of this e-mail and any file
attachments is strictly prohibited. If you have received this e-mail in error,
please destroy the original transmission (including any attachments) and
immediately notify the sender by telephone at +612 9959 7333 or by reply e-mail.
First Data takes all care to ensure that data transmitted is free from
viruses or other faults/defects but does not represent or warrant that this
communication or any attached file(s) is free from such computer viruses or
other faults or defects. First Data will not be liable to the recipient or any
other person for any loss or damage (including direct, consequential or economic
loss or damage) however caused which may result directly or indirectly
from the receipt or use of this communication or any files attached to
it. It is the responsibility of any person using this communication or
opening any files attached to this communication to implement appropriate
measure to ensure the integrity of their environment
is maintained.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/