Re: PalmDebugger Question Could not read source file gcrt0.c

2008-05-29 Thread Jason Kronz
I finally got it working... Thanks for everyones help.  Still pretty painful
to use :-(.
But at least it pointed to my problem quickly (which is what a debugger is
good for,lol).

Given the feedback I may need to look back into gdb...

Phew another CW near miss ;-)

Thanks,
-Jason
Stuart Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Are you under Unix or Windows 95/98/NT?

 Personally I've been debugging my GCC compiled apps using the
 retargetted m68k-palmos-gdb debugger and various versions of POSE (with
 and lately without gdbplug) under Windows 95, 98 and NT 4.0 for about a
 year and a half now without any problems.

 Although at work I use CW R6 and I have to agree debugging is nicer than
 gdb (but more prone to crashing ;)).

 Stuart Nicholson
 Programmer
 Firepad, Inc.

 -Original Message-
 From: Jason Kronz [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 05, 2000 5:51 PM
 To: Palm Developer Forum
 Subject: PalmDebugger Question Could not read source file gcrt0.c


 I'm getting really tired of not being able to debug using the GNU tools.
 It
 almost makes me want to start using the CW6 that's sitting on my shelf.
 (sitting there because I hate everything about it, except its debugger).

 So far I've been printf debugging and that's getting lame quick.

 I've tried:
 gdb,gdb+gdbplug,gdb+gdbplug+emacs,gdb+emacs,palmdebugger(3com
 version), and finally palmdebugger(handspring version)

 I appear to have gotten farthest with the handspring version of
 the PalmDebugger.

 I get my code to load to pose, and I get my symbol file to load.
 The source displays at least :-).

 BUT, when I run my application in POSE the debugger complains:

 Could not read source file gcrt0.c... Where and what is this?
 Isn't it the stub loader gcc code?  Please help! I'm at my whits
 end, I think I may have to install CW6 afterall YAK...

 Thanks,
 -Jason




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







-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


PalmDebugger Question Could not read source file gcrt0.c

2008-05-29 Thread Jason Kronz
I'm getting really tired of not being able to debug using the GNU tools.  It
almost makes me want to start using the CW6 that's sitting on my shelf.
(sitting there because I hate everything about it, except its debugger).

So far I've been printf debugging and that's getting lame quick.

I've tried: gdb,gdb+gdbplug,gdb+gdbplug+emacs,gdb+emacs,palmdebugger(3com
version), and finally palmdebugger(handspring version)

I appear to have gotten farthest with the handspring version of
the PalmDebugger.

I get my code to load to pose, and I get my symbol file to load.
The source displays at least :-).

BUT, when I run my application in POSE the debugger complains:

Could not read source file gcrt0.c... Where and what is this?
Isn't it the stub loader gcc code?  Please help! I'm at my whits
end, I think I may have to install CW6 afterall YAK...

Thanks,
-Jason






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


PalmDebugger and GCC

2008-05-28 Thread Laurent Dutour
Trying to use PalmDebugger with GCC... I got some problems !
I always obtain a message Bad line count while loading a xxx.code.1.sym
file.
Is PalmDebugger design to work with Prc-Tools 2.0 ?

But the HandSpring distribution of GCC (0.5 ) comes with PalmDebugger and
some new command line options :
-mdebug-labels (to turn on a 'Macsbug label' capabilities... )
-mvs-err-msgs (to conform the format of error messages to Visual Studio...)

Also, it seems to be possible to use PalmDebugger with GCC and I'm very
interesting to using it.
Has anyone experiences something with PalmDebugger and GCC, or has any ideas
?





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Unable to connect PalmDebugger to Tungsten E - 0x040E

2004-08-15 Thread Dror
I've been trying to get my Tungsten|E connected to the PalmDebugger. The 
device seems to go into debug mode ok, opening a USB channel, but 
whenever I switch to USB mode, I just get an infinite loop of error 
code 040E messages (i.e. SocketNotOpen at the Serial Link 
manager...still didn't help me).
I tried it on two different XP machines, with versions 4.2 and 4.3 of 
the debugger which AFAIK are the latest.
Connecting to the Simulator works ok.

Thanks,
Dror

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


Re: Unable to connect PalmDebugger to Tungsten E - 0x040E

2004-08-15 Thread Ben Combee
At 10:25 AM 8/15/2004, you wrote:
I've been trying to get my Tungsten|E connected to the PalmDebugger. The 
device seems to go into debug mode ok, opening a USB channel, but whenever 
I switch to USB mode, I just get an infinite loop of error code 040E 
messages (i.e. SocketNotOpen at the Serial Link manager...still didn't 
help me).
I tried it on two different XP machines, with versions 4.2 and 4.3 of the 
debugger which AFAIK are the latest.
Connecting to the Simulator works ok.
Are you using the old Palm Debugger or the newer Palm OS Debugger 
that's part of the Palm OS Developer Suite download?

If you're using Palm Debugger, you may need to copy the USBPort.dll file 
into the PD folder in order for it to create a USB connection 
successfully.  However, I'd really suggest using the PODS tools instead.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Combee on Palm OS weblog: http://palmos.combee.net/
   Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/

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


PalmDebugger over USB with Handspring Visor

2004-02-04 Thread Craig Austin
I'm trying to run the PalmDebugger and connect to a Handspring visor with
the USB cradle.  Whenever I select the USB options from the Connection menu,
the debugger window displays the message:

error code: 040E

over and over again.

From the header files, I believe this error is slkErrSocketNotOpen.  I'm
guessing it's just a setting, but I can't seem to figure it out.

I tried this on a Windows XP machine and a Windows 2000 machine.

Does anyone know to get around this problem?

Thanks,

Craig


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


Help on using PalmDebugger

2003-12-11 Thread BrownB
This is my second post about, I searched for two days but I found nothing;
here is my problem: when trying to debug a simple application, I try to
place breakpoints in my PilotMain code, but the breakpoints are always
placed at the same address the beginning of a linked code, named dreloc.c:
how can I debug my code?
Thanks for reply,
BrownB


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


Re: Help on using PalmDebugger

2003-12-11 Thread Samuel Soto
Hello,

I am receiving messages being posted from others at my email address. I do not
want to receive these email messages. Please make the necessary
adjustments.
Thanks


Thursday, December 11, 2003, 10:15:45 AM, you wrote:

B This is my second post about, I searched for two days but I found nothing;
B here is my problem: when trying to debug a simple application, I try to
B place breakpoints in my PilotMain code, but the breakpoints are always
B placed at the same address the beginning of a linked code, named dreloc.c:
B how can I debug my code?
B Thanks for reply,
B BrownB




-- 
Best regards,
Samuel Soto
[EMAIL PROTECTED]
DDH Software, Inc.
www.ddhsoftware.com



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


PalmDebugger problems...

2003-12-10 Thread BrownB
Hello, I'm using PRC-Tools, and need to debug a simple program, but it seems
to place the breakpoint in the same memory position for different lines of
my source code. I think the problem could be in the .sym file: how do you
obtain it in the right way? Another question: how can I make visible some
included files like crt0.c, dreloc.c, hooks.c without copying those
files in my directory? And where can I find a description of the use of
these files?
Thanks for help,
BrownB


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


PalmDebugger Symbol Files: How to?

2003-10-24 Thread Tilman Skobowsky
Hi,

I wonder, if there is a way to generate symbol files for the
PalmDebugger as supplied by the SDK?
The best thing would be to convert CWs psym file into a symbol file for
PalmDebugger.
But I don't even have a clue, how to generate Module.code.n.sym file via
PRC-Tools / GCC. Is there anybody around here, who knows how to do this?

TIA
Tilman

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


symbol file for PalmDebugger

2003-07-31 Thread Khaki Wizard
Anybody can tell me how to generate the .sym file
for PalmDebugger?
I can't find any explanation.
 
Thanks,


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Re: PalmDebugger

2003-07-11 Thread apple k
sorry not to provide sufficient info.
I'm using CodeWarrior 8.0, Serial cable with Symbol.
If it is USB, the debugger can work with it?
Pls help in this regard. Thanks!
--- Ben Combee [EMAIL PROTECTED] wrote:
 At 10:53 PM 7/10/2003, apple k wrote:
 Hi,
 
 I'm trying to use the actual device to debug my
 program. However it fails for several times of
 attempts as connection attempt fails.
 
 I'm using CodeWarrior and set the PalmDebugger to
 PalmOS Device with functional COM port. For the
 Palm
 Device, it has been set to debug mode as
 'Shortcut.2'.
 
 Which actual device, which version of CodeWarrior,
 and what kind of 
 connection (serial or USB)?
 
 -- 
 Ben Combee [EMAIL PROTECTED]
 CodeWarrior for Palm OS technical lead
 Palm OS programming help @ www.palmoswerks.com 
 
 
 -- 
 For information on using the Palm Developer Forums,
 or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


PalmDebugger

2003-07-10 Thread apple k
Hi,

I'm trying to use the actual device to debug my
program. However it fails for several times of
attempts as connection attempt fails. 

I'm using CodeWarrior and set the PalmDebugger to
PalmOS Device with functional COM port. For the Palm
Device, it has been set to debug mode as 'Shortcut.2'.

Do I miss anything else? Pls advise in this regard.
Thank you in advance!

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Re: PalmDebugger

2003-07-10 Thread Ben Combee
At 10:53 PM 7/10/2003, apple k wrote:
Hi,

I'm trying to use the actual device to debug my
program. However it fails for several times of
attempts as connection attempt fails.
I'm using CodeWarrior and set the PalmDebugger to
PalmOS Device with functional COM port. For the Palm
Device, it has been set to debug mode as 'Shortcut.2'.
Which actual device, which version of CodeWarrior, and what kind of 
connection (serial or USB)?

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

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


USB Debugging on PalmDebugger with m130 - possible?

2003-01-06 Thread Doug McFadyen

I'm trying to get PalmDebugger working with the m130 over the USB cable.
No-Go.  I've tried almost everything I can think of.

Should this work?  Can anyone point me to any information on this issue?

Thanks,
Doug.

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



Re: USB Debugging on PalmDebugger with m130 - possible?

2003-01-06 Thread Ben Combee
At 13:08 2003-1-6 -0800, you wrote:


I'm trying to get PalmDebugger working with the m130 over the USB cable.
No-Go.  I've tried almost everything I can think of.

Should this work?  Can anyone point me to any information on this issue?


First, have you updated to Palm Desktop 4.1?

Second, you need to put a copy of the USBPort.dll file from Palm Desktop in 
the folder with PalmDebugger.exe to enable a debugger connection over USB.

I've not tried the m130.  I know the m500, m505, and m125 work well over 
USB, but the i705 and Zire do not.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 


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


RE: USB Debugging on PalmDebugger with m130 - possible?

2003-01-06 Thread Keith Rollin
According to some unofficial (yet thorough) testing that a coworker of mine did, this 
combination does not work.  My understanding is that you need to use a serial cradle 
in order to do debugging.

-- Keith Rollin
-- Palm OS Emulator engineer

 -Original Message-
 From: Doug McFadyen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 06, 2003 1:09 PM
 To: Palm Developer Forum
 Subject: USB Debugging on PalmDebugger with m130 - possible?
 
 I'm trying to get PalmDebugger working with the m130 over the 
 USB cable. No-Go.  I've tried almost everything I can think of.
 
 Should this work?  Can anyone point me to any information on 
 this issue?

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



Re: PalmDebugger USB hangs

2002-05-03 Thread matro

Why you think this? Treo device hasn't got serial, and on the other
side, PalmDebugger which comes from Handspring does support USB.

On Thu, 2 May 2002 18:13:58 -0700, Trevor Menagh [EMAIL PROTECTED]
wrote:


I didn't think that you could debug with USB, I thought you had to use
Serial...




MATRO

RealPopup, the freeware winpopup replacer
http://www.realpopup.it

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



PalmDebugger USB hangs

2002-05-02 Thread matro

Hi there,

I'm currently trying to debug an application with my Treo180
(Handspring, OS3.5) and Handspring PalmDebugger via USB.

PalmDebugger is taken from Handspring tools, v3.6d7 22/2/2002.

First difference with 'normal' situation is Treo180 hasn't got
graffiti, there's a keyboard instead. so, I cannot activate debug
console with shortcut, then I use the gdbPanel.

Problem is PalmDebugger hangs when I select Install Database and Load
Symbols... (F8) menu item. Here are the steps:

- load PalmDebugger
- activate debug stub on device
- PalmDebugger display 'welcome' screen and BREAKS WITH AN
  EXCEPTION
- now, I try to leave the 'att' giving g command, then I try
  to select F8, but it hangs...
- I realized it's trying to talk with device: if I press debug on
  gdbPanel, it leaves hang and display cannot communicate with   
  device.

so, I cannot load an application and debug it. I tried with POSE and
everything works: when I activate POSE and PalmDebugger, it doesn't
give any exception, F8 works and everything runs.

I don't know if problem is on USB, on PalmDebugger release on with my
steps.

Anyone has got a solution? please help!


MATRO

RealPopup, the freeware winpopup replacer
http://www.realpopup.it

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



RE: PalmDebugger USB hangs

2002-05-02 Thread Trevor Menagh

I didn't think that you could debug with USB, I thought you had to use
Serial...

trv
-- 
Trevor Menagh  | Is there a reason you don't reason?
www.trevreport.org | Maybe you should fix that. :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of matro
Sent: Thursday, May 02, 2002 4:08 PM
To: Palm Developer Forum
Subject: PalmDebugger USB hangs


Hi there,

I'm currently trying to debug an application with my Treo180
(Handspring, OS3.5) and Handspring PalmDebugger via USB.

PalmDebugger is taken from Handspring tools, v3.6d7 22/2/2002.

First difference with 'normal' situation is Treo180 hasn't got
graffiti, there's a keyboard instead. so, I cannot activate debug
console with shortcut, then I use the gdbPanel.

Problem is PalmDebugger hangs when I select Install Database and Load
Symbols... (F8) menu item. Here are the steps:

- load PalmDebugger
- activate debug stub on device
- PalmDebugger display 'welcome' screen and BREAKS WITH AN
  EXCEPTION
- now, I try to leave the 'att' giving g command, then I try
  to select F8, but it hangs...
- I realized it's trying to talk with device: if I press debug on
  gdbPanel, it leaves hang and display cannot communicate with   
  device.

so, I cannot load an application and debug it. I tried with POSE and
everything works: when I activate POSE and PalmDebugger, it doesn't
give any exception, F8 works and everything runs.

I don't know if problem is on USB, on PalmDebugger release on with my
steps.

Anyone has got a solution? please help!


MATRO

RealPopup, the freeware winpopup replacer
http://www.realpopup.it

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


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



Re: PalmDebugger Suggestion

2002-02-27 Thread Rolf Brugger

 
 As the documentation states, PalmDebugger's source level debugging works
 with the symbolic information in executables compiled with prc-tools.
 Sadly most versions of PalmDebugger have historically had various bugs
 that make source level debugging more or less impossible.

Well, obviously you can't do source level debugging at all 
with the PalmDebugger provided by Palm.

 Handspring's version of PalmDebugger is likely to be the least broken.
 
  Trying to install the Handspring tools
  messed up my whole installation and I could use cygwin/gcc only after I
  manually cleaned the registry.
 
 However with luck you can extract Handspring's PalmDebugger separately
 from their version of prc-tools and continue to use your modern Cygwin
 and prc-tools.

Yeah, this is what I finally did - and it works indeed! 
But it is a real pain to do it. 

I suggest to write these facts down somewhere on
http://www.palmos.com/dev/tools/gcc/index.html otherwise
this newsgroup will further be flooded with questions like
how can I get my Debugger work with gcc.


Cheers

Rolf

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



Re: PalmDebugger Suggestion

2002-02-20 Thread John Marshall

On Tue, Feb 19, 2002 at 01:18:54PM -0500, SebNob wrote:
 I'm currently trying to make a symbol file to work with PalmDebugger.
 The doc is not very clear about what exactly  the debugger want for symbole
 file (they could just gave us the flag to pass to gcc but no...).

I wasted a lot of energy telling people that their symbol file
terminology was incomprehensible to their intended audience of GCC
users, but to no avail.  See

  http://groups.google.com/groups?selm=q5orcqvt%24GA.341%40www.massena.com

 Help would be appreciated.

However, happily I am no longer in a position to offer PalmDebugger
help.  I'm sure some of the Palm(Source) people on this list will be
happy to help you get to grips with PalmDebugger and GCC.  :-)

John

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



PalmDebugger Suggestion

2002-02-19 Thread Rolf Brugger

Hi,

I've recently downloaded the PalmDebugger from palmos.com. Although the
documentation explicitly says that the PalmDebugger only works with
gcc/prc-tools it seems that source level debugging is only possible with
the Mertowerks toolchain.

In a well hidden newsgroup posting somebody said, that the Handspring
version of the PalmDebugger is able to understand the debugging
information generated by gcc. Trying to install the Handspring tools
messed up my whole installation and I could use cygwin/gcc only after I
manually cleaned the registry.

Why isn't the modified PalmDebugger available at Palmos.com? You are
friends with the Handspring guys, aren't you. It would be great, if it
could be included in the official gcc/prc-tools suite by Palm.

best regards

Rolf

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



Re: PalmDebugger Suggestion

2002-02-19 Thread John Marshall

On Tue, Feb 19, 2002 at 05:14:27PM +0100, Rolf Brugger wrote:
 I've recently downloaded the PalmDebugger from palmos.com. Although the
 documentation explicitly says that the PalmDebugger only works with
 gcc/prc-tools it seems that source level debugging is only possible with
 the Mertowerks toolchain.

Source level debugging with PalmDebugger is impossible with CodeWarrior.

As the documentation states, PalmDebugger's source level debugging works
with the symbolic information in executables compiled with prc-tools.
Sadly most versions of PalmDebugger have historically had various bugs
that make source level debugging more or less impossible.

Handspring's version of PalmDebugger is likely to be the least broken.

 Trying to install the Handspring tools
 messed up my whole installation and I could use cygwin/gcc only after I
 manually cleaned the registry.

However with luck you can extract Handspring's PalmDebugger separately
from their version of prc-tools and continue to use your modern Cygwin
and prc-tools.

John

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



Re: PalmDebugger Suggestion

2002-02-19 Thread SebNob

Hi

I'm currently trying to make a symbol file to work with PalmDebugger.
The doc is not very clear about what exactly  the debugger want for symbole
file (they could just gave us the flag to pass to gcc but no...).

 As the documentation states, PalmDebugger's source level debugging works
 with the symbolic information in executables compiled with prc-tools.

do you mean by that that the Debugger want just the debugging information
in the prc files (-g or -mdebug-labels) and forget about the .sym.

I've done a makefile for the NetSample 'sample' and i couldn't make it work
properly. I read the doc about gcc and ld that come with prc-tools but can't
figure out what i should do to obtain a valid Sym file.

Help would be appreciated.
Here's the makefile.

CC = m68k-palmos-gcc
MULTIGEN = multigen.exe
CFLAGS = -Wall -g -mdebug-labels -palmos3.5

object = NetSample-sections.o NetSample.o CmdSetup.o CmdStevens.o AppStdio.o
\
  CmdInfo.o CmdTelnet.o

All: NetSample.prc

NetSample.prc: NetSample bin.stamp
 build-prc NetSample.def NetSample *.bin

bin.stamp: NetSampleMain.rcp
 pilrc NetSampleMain.rcp
 touch  bin.stamp

NetSample: $(object) NetSample-sections.ld
 $(CC) $(CFLAGS) -o NetSample -Wl,'-Map=Netsample.code.1.sym',--cref
$(object) \
  NetSample-sections.ld -lNetSocket

AppStdio.o: AppStdio.c
CmdInfo.o: CmdInfo.c
CmdSetup.o: CmdSetup.c
CmdStevens.o: CmdStevens.c
CmdTelnet.o: CmdTelnet.c
NetSample.o: NetSample.c
NetSample-sections.o: NetSample-sections.s

NetSample-sections.s NetSample-sections.ld: NetSample.def
 $(MULTIGEN) NetSample.def

clean:
 rm -f *.o *-sections.* *.prc *.sym *.bin bin.stamp NetSample





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



Re: PalmDebugger w/USB Connection to M500

2001-05-08 Thread Brad Kish


 At 3:18 PM -0400 5/7/01, Brad Kish wrote:
 I am trying to debug an M500 using the PalmDebugger over
 a USB connection.  I do not have CodeWarrior 7.0.
 
 Is there anything else that I can do to get this working?
 Is it supposed to work?
 
 No, this is not supposed to work.  The interfaces for the Handspring 
 and Palm USB drivers are different, and so the Handspring version of 
 PalmDebugger doesn't work with Palm devices.  And there is no Palm 
 version of PalmDebugger that works with Palm devices over USB.
 
 -- Keith Rollin

Okay, if I cannot use the PalmDebugger with an m500 over USB, then:

1.  Will the serial cradle work?  I have yet to find one to test and there are
a number of reports of the serial cradle not working for HotSync's.

2.  Will the PalmDebugger be updated to work with USB?

3.  Does CW 7.0 work with an M500 over USB?


Thanks,

Brad.



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



Re: PalmDebugger w/USB Connection to M500

2001-05-08 Thread Ben Combee

  No, this is not supposed to work.  The interfaces for the Handspring
  and Palm USB drivers are different, and so the Handspring version of
  PalmDebugger doesn't work with Palm devices.  And there is no Palm
  version of PalmDebugger that works with Palm devices over USB.
 
  -- Keith Rollin

 Okay, if I cannot use the PalmDebugger with an m500 over USB, then:

 1.  Will the serial cradle work?  I have yet to find one to test and
there are
 a number of reports of the serial cradle not working for HotSync's.

I would expect this to work -- I'm not sure if you need to do the
hold-up trick to get serial debugging on the m500/m505.

 3.  Does CW 7.0 work with an M500 over USB?

No.  The only USB supported right now is to a Handspring Visor-series
device using Handspring's Hotsync Manager.  If you upgrade to Palm
Desktop 4.01, debugging to the Visor will stop working.

--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



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



PalmDebugger w/USB Connection to M500

2001-05-07 Thread Brad Kish

I am trying to debug an M500 using the PalmDebugger over
a USB connection.  I do not have CodeWarrior 7.0.

While HotSync works perfectly, the PalmDebugger does not
seem to respond to the device when I put it into debug mode
(Shortcut .. 1).  A USB connection is being attempted by the
device at this time (Windows registers the USB driver if it has
not already been registered).

I have set the connection to USB.
I can debug a Visor over USB, but only with the palm-debugger.exe
in the HandSpring SDK and Visor USB driver--not the new 
Palm desktop Palm driver.

I have Win98SE.  I have tried it on two different machines.

Is there anything else that I can do to get this working?
Is it supposed to work? 

Thanks,

Brad Kish.



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



Re: PalmDebugger w/USB Connection to M500

2001-05-07 Thread Keith Rollin

At 3:18 PM -0400 5/7/01, Brad Kish wrote:
I am trying to debug an M500 using the PalmDebugger over
a USB connection.  I do not have CodeWarrior 7.0.

While HotSync works perfectly, the PalmDebugger does not
seem to respond to the device when I put it into debug mode
(Shortcut .. 1).  A USB connection is being attempted by the
device at this time (Windows registers the USB driver if it has
not already been registered).

I have set the connection to USB.
I can debug a Visor over USB, but only with the palm-debugger.exe
in the HandSpring SDK and Visor USB driver--not the new
Palm desktop Palm driver.

I have Win98SE.  I have tried it on two different machines.

Is there anything else that I can do to get this working?
Is it supposed to work?

No, this is not supposed to work.  The interfaces for the Handspring 
and Palm USB drivers are different, and so the Handspring version of 
PalmDebugger doesn't work with Palm devices.  And there is no Palm 
version of PalmDebugger that works with Palm devices over USB.
-- 

-- Keith Rollin
-- Palm OS Emulator engineer

P.S. Check out the new e-mail address.  [EMAIL PROTECTED] will work 
for a while, but anyone mailing me needs to update to the new one 
eventually.

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



RE: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-29 Thread Scott Johnson (Bellevue)

 From: Tom Warfel [mailto:[EMAIL PROTECTED]]
 CodeWarrior R5 running the current Palm OS Emulator?  Clicking on
 the "Debug" option from POSE doesn't seem to make anything happen.

You need to initially start the app under the CodeWarrior debugger, then the
Debug button works.  CodeWarrior can't attach to an already running app.

(Are you really using Release FIVE?  Suggest checking out the recent thread
on the features and benefits of upgrading to R7.)

-slj-


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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-27 Thread Tom Warfel

** Reply to message from "Jun-Kiat Lam" [EMAIL PROTECTED] on Thu, 18 Jan
2001 17:48:45 -0600

What is the best way to track down a "Chunk Over-locked" error with the
CodeWarrior R5
running the current Palm OS Emulator?  Clicking on the "Debug" option from POSE 
doesn't seem to make anything happen.  I suspect there's a FAQ for this, but
Search on
the Palm website doesn't seem to be returning any hits.


-Tom Warfel
  [EMAIL PROTECTED] / [EMAIL PROTECTED]

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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-19 Thread Chris DiPierro

Thanks for the info. Can you provide lock definitions?

I see #0, #1, and #15 ...

#15 = MemPtrNew
#0 = ??? maybe globals??
#1 = Forms data

Is that right?


[EMAIL PROTECTED] wrote in message news:36316@palm-dev-forum...



  For instance, in the "start" column, what's a '-' vs. a '*' before
  the address?

 '-' means that the chunk is movable
 '*' menas that the chunk can be movable but is currently locked
 'bullet' means that the chunk is non-moveable (created with MemPtrNew)
 ' ' means that the chunk is free

  What's an 'M' vs. 'm' in flags?

 Hmmm...this appears to indicate the same information.

 'F' chunk is free
 'f' chunk is not free
 'M' chunk is movable (zero lockcount)
 'm' chunk is not movable (non-zero lockcount)

 -- Keith Rollin
 -- Palm OS Emulator engineer







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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-19 Thread Ben Combee

 Thanks for the info. Can you provide lock definitions?

 I see #0, #1, and #15 ...

 #15 = MemPtrNew
 #0 = ??? maybe globals??
 #1 = Forms data

No... #15 is the only special one -- the others are just the lock count -- a
0 means that the OS can move the chunk around, #1 through #14 mean that its
locked, and you need that many MemHandleUnlock calls to make it movable
again.

For the owner column, #2 is data your code has allocated.  #0 and #1 are
system allocated memory, but I'm not exactly sure why there are two owners.

Oh, the memory display in PalmDebugger is a little nicer, as it includes
descriptions of a lot of the chunks -- I'm hoping that is implemented on the
Win32 version as well as the Mac.

--
Ben Combee
Veriprise Wireless http://www.veriprise.com



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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-19 Thread Chris DiPierro

Yea it is. I appreciate it.

Ok, here's a question then.

After many Gremlins I see a lot of chunks that are unlocked (#0), owned by
my app (#2) and have 'fM' set on them, each of which is '0x64 requested
bytes' and actually '0x6c alloced bytes"

If I dump the memory they contain, it looks like menu items from various
menus in my application. Unfortunately, this list just keeps growing and
growing. This seems odd because although I do have a bunch of forms and
menus, the navigation between them is purely through FrmGotoForm and
FrmPopupForm coupled with FrmReturnToForm ... according to the docs, both of
these should handle the destruction of menus associated with each form. Yet,
it doesn't seem to be the case because I can see menu items leftover from
old forms when  the app's on a completely different form...



Ben Combee [EMAIL PROTECTED] wrote in message
news:36410@palm-dev-forum...

  Thanks for the info. Can you provide lock definitions?
 
  I see #0, #1, and #15 ...
 
  #15 = MemPtrNew
  #0 = ??? maybe globals??
  #1 = Forms data

 No... #15 is the only special one -- the others are just the lock count --
a
 0 means that the OS can move the chunk around, #1 through #14 mean that
its
 locked, and you need that many MemHandleUnlock calls to make it movable
 again.

 For the owner column, #2 is data your code has allocated.  #0 and #1 are
 system allocated memory, but I'm not exactly sure why there are two
owners.

 Oh, the memory display in PalmDebugger is a little nicer, as it includes
 descriptions of a lot of the chunks -- I'm hoping that is implemented on
the
 Win32 version as well as the Mac.

 --
 Ben Combee
 Veriprise Wireless http://www.veriprise.com







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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-19 Thread Steve Mann

This seems odd because although I do have a bunch of forms and
menus, the navigation between them is purely through FrmGotoForm and
FrmPopupForm coupled with FrmReturnToForm ... according to the docs, both of
these should handle the destruction of menus associated with each form.

I've always bee a bit suspicious of FrmPopupForm and FrmReturnToForm. 
I remember having problems with them in the past.

The only clean way to guarantee that you don't leave any form 
remnants lying around, IMHO, is to always do a FrmCloseForm, then 
FrmDeleteForm, then FrmGotoForm. If you have to display a dialog, use 
FrmDoDialog.

Regards,
Steve Mann
-- 
---
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
---
805.784.9461  805.784.9462 (fax)
[EMAIL PROTECTED]   http://www.cdpubs.com

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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-19 Thread Chris DiPierro

I suppose, but it's nice to have forms that take up 1/2 the screen and still
show what you were last viewing. For this FrmPopupForm is truly useful. Not
to mention the fact that it doesn't erase the old form immediately like
FrmGoto ... in any event, I'll see about explicitly calling FrmClose/Delete
and see if that helps.

Steve Mann [EMAIL PROTECTED] wrote in message news:36421@palm-dev-forum...

 This seems odd because although I do have a bunch of forms and
 menus, the navigation between them is purely through FrmGotoForm and
 FrmPopupForm coupled with FrmReturnToForm ... according to the docs, both
of
 these should handle the destruction of menus associated with each form.

 I've always bee a bit suspicious of FrmPopupForm and FrmReturnToForm.
 I remember having problems with them in the past.

 The only clean way to guarantee that you don't leave any form
 remnants lying around, IMHO, is to always do a FrmCloseForm, then
 FrmDeleteForm, then FrmGotoForm. If you have to display a dialog, use
 FrmDoDialog.

 Regards,
 Steve Mann
 --
 ---
 Creative Digital Publishing Inc.
 1315 Palm Street, San Luis Obispo, CA 93401-3117
 ---
 805.784.9461  805.784.9462 (fax)
 [EMAIL PROTECTED]   http://www.cdpubs.com





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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread Chris DiPierro

The problem is that even in this guide, while it lists 'hd' as a command, it
doesn't really elaborate on what it returns.

For instance, in the "start" column, what's a '-' vs. a '*' before the
address?

What's an 'M' vs. 'm' in flags?

What's owner #15? (most of my chunks are owned by #15)


David Fedor [EMAIL PROTECTED] wrote in message news:36154@palm-dev-forum...

 BTW, is there a document that describes all the functions/output of
 PalmDebugger anyway?

 Does the documentation fit the bill? :-)  "Development Tools Guide.pdf" is
 what it is called in the 4.0 SDK, and I'm sure older versions are
available
 as well.




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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread Ben Combee

 The problem is that even in this guide, while it lists 'hd' as a command,
it
 doesn't really elaborate on what it returns.

 What's owner #15? (most of my chunks are owned by #15)

The owner and lck column labels are reversed -- a lock of 15 indicates
memory allocated by MemPtrNew().

--
Ben Combee
Veriprise Wireless http://www.veriprise.com



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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread Chris DiPierro

Cool, I thought they might be reversed. And thanks for the 15 tip...

Question though, what are other possible lock #s? #0 and #1 specifically.

Ben Combee [EMAIL PROTECTED] wrote in message
news:36267@palm-dev-forum...

  The problem is that even in this guide, while it lists 'hd' as a
command,
 it
  doesn't really elaborate on what it returns.
 
  What's owner #15? (most of my chunks are owned by #15)

 The owner and lck column labels are reversed -- a lock of 15 indicates
 memory allocated by MemPtrNew().

 --
 Ben Combee
 Veriprise Wireless http://www.veriprise.com







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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread krollin



 The owner and lck column labels are reversed...

I believe this is only a problem on Windows.

-- Keith Rollin
-- Palm OS Emulator engineer






"Ben Combee" [EMAIL PROTECTED] on 01/18/2001 10:57:25 AM

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

Sent by:  "Ben Combee" [EMAIL PROTECTED]


To:   "Palm Developer Forum" [EMAIL PROTECTED]
cc:(Keith Rollin/US/PALM)
Subject:  Re: Getting hd 0 in PalmDebugger to report app symbols?



 The problem is that even in this guide, while it lists 'hd' as a command,
it
 doesn't really elaborate on what it returns.

 What's owner #15? (most of my chunks are owned by #15)

The owner and lck column labels are reversed -- a lock of 15 indicates
memory allocated by MemPtrNew().

--
Ben Combee
Veriprise Wireless http://www.veriprise.com




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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread krollin



 For instance, in the "start" column, what's a '-' vs. a '*' before
 the address?

'-' means that the chunk is movable
'*' menas that the chunk can be movable but is currently locked
'bullet' means that the chunk is non-moveable (created with MemPtrNew)
' ' means that the chunk is free

 What's an 'M' vs. 'm' in flags?

Hmmm...this appears to indicate the same information.

'F' chunk is free
'f' chunk is not free
'M' chunk is movable (zero lockcount)
'm' chunk is not movable (non-zero lockcount)

-- Keith Rollin
-- Palm OS Emulator engineer



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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-18 Thread Jun-Kiat Lam

Just a small FYI for y'all: doing a 'help hd' on the console in both the
CodeWarrior debugger and PalmDebugger will provide a description of the
symbols in the columns. And the problem with owner and lock count columns
being flipped has been fixed internally and will be in a debugger plugin
update for R7.

-- jkl

- Original Message -
From: [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 5:34 PM
Subject: Re: Getting hd 0 in PalmDebugger to report app symbols?




  For instance, in the "start" column, what's a '-' vs. a '*' before
  the address?

 '-' means that the chunk is movable
 '*' menas that the chunk can be movable but is currently locked
 'bullet' means that the chunk is non-moveable (created with MemPtrNew)
 ' ' means that the chunk is free

  What's an 'M' vs. 'm' in flags?

 Hmmm...this appears to indicate the same information.

 'F' chunk is free
 'f' chunk is not free
 'M' chunk is movable (zero lockcount)
 'm' chunk is not movable (non-zero lockcount)

 -- Keith Rollin
 -- Palm OS Emulator engineer



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



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



Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread Chris DiPierro

How do I get hd 0 to report symbols for my app? I've compiled the app with
debug symbols on, but when I do an hd 0 there's basically just a stream of
alloced chunks aside from a few that happen to be identified as handles to
various DBs and forms, etc.





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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread Chris DiPierro

I should point out that I'm using CW R6 here.

I've tried both the PalmDebugger.exe which can't load CW's psym files from
what I can tell as well as the built in palmplugin.dll (8/14/00 version)'s
console. But both just list chunks as 'fM' or 'fm' or whatever w/o symbols.


Chris DiPierro [EMAIL PROTECTED] wrote in message
news:36130@palm-dev-forum...

 How do I get hd 0 to report symbols for my app? I've compiled the app with
 debug symbols on, but when I do an hd 0 there's basically just a stream of
 alloced chunks aside from a few that happen to be identified as handles to
 various DBs and forms, etc.









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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread Ben Combee

"Chris DiPierro" [EMAIL PROTECTED] wrote in message
news:36142@palm-dev-forum...

 I should point out that I'm using CW R6 here.

 I've tried both the PalmDebugger.exe which can't load CW's psym files from
 what I can tell as well as the built in palmplugin.dll (8/14/00 version)'s
 console. But both just list chunks as 'fM' or 'fm' or whatever w/o
symbols.


 Chris DiPierro [EMAIL PROTECTED] wrote in message
 news:36130@palm-dev-forum...
 
  How do I get hd 0 to report symbols for my app? I've compiled the app
with
  debug symbols on, but when I do an hd 0 there's basically just a stream
of
  alloced chunks aside from a few that happen to be identified as handles
to
  various DBs and forms, etc.

I don't think anything shown with a "hd 0" would correspond with global
variables in your program.  If the owner wasn't "2", its a system object,
and if it is "2", then its something dynamically allocated.  Sure, one of
the chunks is the global variable pool, but the hd display would break that
pool up into its constituient chunks.

Now, one request I've made to Metrowerks that would be very useful: enhance
the debugger to be able to automatically chase handles using an internally
captured heapdump -- you see a handle, right click on it, view as palm
handle, and now get access to the memory to which it points, even without
locking it.  That would be VERY nice.

--
Ben Combee
Veriprise Wireless http://www.veriprise.com



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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread krollin



 How do I get hd 0 to report symbols for my app? I've compiled the app with
 debug symbols on, but when I do an hd 0 there's basically just a stream of
 alloced chunks aside from a few that happen to be identified as handles to
 various DBs and forms, etc.

You can't.  The two (displaying chunks and displaying function names) have
nothing to do with each other.  You're question is like asking "How can I get
dir 0 to report symbols for my app?"

What problem are you trying to solve?

-- Keith Rollin
-- Palm OS Emulator engineer



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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread Chris DiPierro

Basically, after 250k Gremlins or so, the app runs out of memory.
Unfortunately, quitting the app doesn't prompt any 'Possible Memory Leak'
suggestions, but if I look in the hd 0 dump, I see a ton of unmovable
allocated memory (if I understand what 'mf' indicates), each on the order of
10 - 30 bytes. I was looking for a way to try to trace down where these
might be coming from and this seemed like an idea at first. The problem of
course, is that I can't get these to happen with any "casual" usage of the
application, so I'm a little stuck.

BTW, is there a document that describes all the functions/output of
PalmDebugger anyway?

Some commands that David Fedor listed at PalmSource aren't actually valid
for instance, and while 'help' is useful, it doesn't tell me anything about
what command does what.


[EMAIL PROTECTED] wrote in message news:36148@palm-dev-forum...



  How do I get hd 0 to report symbols for my app? I've compiled the app
with
  debug symbols on, but when I do an hd 0 there's basically just a stream
of
  alloced chunks aside from a few that happen to be identified as handles
to
  various DBs and forms, etc.

 You can't.  The two (displaying chunks and displaying function names) have
 nothing to do with each other.  You're question is like asking "How can I
get
 dir 0 to report symbols for my app?"

 What problem are you trying to solve?

 -- Keith Rollin
 -- Palm OS Emulator engineer







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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread David Fedor

BTW, is there a document that describes all the functions/output of
PalmDebugger anyway?

Does the documentation fit the bill? :-)  "Development Tools Guide.pdf" is
what it is called in the 4.0 SDK, and I'm sure older versions are available
as well.


Some commands that David Fedor listed at PalmSource aren't actually valid
for instance...

Really? Which ones?  I thought I just wrote about the ones I use all the
time; it wasn't a theoretical presentation but rather just saying what I do
routinely.

In terms of solving your problem: have you looked at the data inside those
chunks to see if you recognize the contents?  If they're all the same size
or have some other characteristic like that, you could try patching
MemPtrNew (or whatever) and breaking into the debugger when you see an
allocation request for that precise size.

-David Fedor
Palm Developer Support

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



Re: Getting hd 0 in PalmDebugger to report app symbols?

2001-01-17 Thread Chris DiPierro

It's things like 'att' not being applicable, etc. I mean, I've never used
the PD before, so I was going by what he presented, but obviously that's not
necessary, so...

"Ben Combee" [EMAIL PROTECTED] wrote in message
news:36158@palm-dev-forum...

  Some commands that David Fedor listed at PalmSource aren't actually
valid
  for instance...
 
  Really? Which ones?  I thought I just wrote about the ones I use all the
  time; it wasn't a theoretical presentation but rather just saying what I
 do
  routinely.

 I think he was complaining about some of the PalmDebugger commands not
being
 available from CodeWarrior's console window, not anything problematic in
PD.

 --
 Ben Combee
 Veriprise Wireless http://www.veriprise.com







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



PalmDebugger and GCC

2000-10-16 Thread Laurent Dutour

Trying to use PalmDebugger with GCC... I got some problems !
I always obtain a message "Bad line count" while loading a xxx.code.1.sym
file.
Is PalmDebugger design to work with Prc-Tools 2.0 ?

But the HandSpring distribution of GCC (0.5 ) comes with PalmDebugger and
some new command line options :
-mdebug-labels (to turn on a 'Macsbug label' capabilities... )
-mvs-err-msgs (to conform the format of error messages to Visual Studio...)

Also, it seems to be possible to use PalmDebugger with GCC and I'm very
interesting to using it.
Has anyone experiences something with PalmDebugger and GCC, or has any ideas
?



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



Re: PalmDebugger Question Could not read source file gcrt0.c

2000-07-18 Thread Derek Kite

On Thu, 06 Jul 2000, you wrote:
 I finally got it working... Thanks for everyones help.  Still pretty painful
 to use :-(.
 But at least it pointed to my problem quickly (which is what a debugger is
 good for,lol).
 
 Given the feedback I may need to look back into gdb...
 

gdb with ddd works very well for me, (on linux).

Derek


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



Re: PalmDebugger Question Could not read source file gcrt0.c

2000-07-06 Thread Jason Kronz

I finally got it working... Thanks for everyones help.  Still pretty painful
to use :-(.
But at least it pointed to my problem quickly (which is what a debugger is
good for,lol).

Given the feedback I may need to look back into gdb...

Phew another CW near miss ;-)

Thanks,
-Jason
"Stuart Nicholson" [EMAIL PROTECTED] wrote in message
news:16277@palm-dev-forum...

 Are you under Unix or Windows 95/98/NT?

 Personally I've been debugging my GCC compiled apps using the
 retargetted m68k-palmos-gdb debugger and various versions of POSE (with
 and lately without gdbplug) under Windows 95, 98 and NT 4.0 for about a
 year and a half now without any problems.

 Although at work I use CW R6 and I have to agree debugging is nicer than
 gdb (but more prone to crashing ;)).

 Stuart Nicholson
 Programmer
 Firepad, Inc.

 -Original Message-
 From: Jason Kronz [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 05, 2000 5:51 PM
 To: Palm Developer Forum
 Subject: PalmDebugger Question "Could not read source file gcrt0.c"


 I'm getting really tired of not being able to debug using the GNU tools.
 It
 almost makes me want to start using the CW6 that's sitting on my shelf.
 (sitting there because I hate everything about it, except its debugger).

 So far I've been "printf" debugging and that's getting lame quick.

 I've tried:
 gdb,gdb+gdbplug,gdb+gdbplug+emacs,gdb+emacs,palmdebugger(3com
 version), and finally palmdebugger(handspring version)

 I appear to have gotten farthest with the handspring version of
 the PalmDebugger.

 I get my code to load to pose, and I get my symbol file to load.
 The source displays at least :-).

 BUT, when I run my application in POSE the debugger complains:

 "Could not read source file gcrt0.c"... Where and what is this?
 Isn't it the stub loader gcc code?  Please help! I'm at my whits
 end, I think I may have to install CW6 afterall YAK...

 Thanks,
 -Jason




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





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



PalmDebugger Question Could not read source file gcrt0.c

2000-07-05 Thread Jason Kronz

I'm getting really tired of not being able to debug using the GNU tools.  It
almost makes me want to start using the CW6 that's sitting on my shelf.
(sitting there because I hate everything about it, except its debugger).

So far I've been "printf" debugging and that's getting lame quick.

I've tried: gdb,gdb+gdbplug,gdb+gdbplug+emacs,gdb+emacs,palmdebugger(3com
version), and finally palmdebugger(handspring version)

I appear to have gotten farthest with the handspring version of
the PalmDebugger.

I get my code to load to pose, and I get my symbol file to load.
The source displays at least :-).

BUT, when I run my application in POSE the debugger complains:

"Could not read source file gcrt0.c"... Where and what is this?
Isn't it the stub loader gcc code?  Please help! I'm at my whits
end, I think I may have to install CW6 afterall YAK...

Thanks,
-Jason




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



RE: PalmDebugger Question Could not read source file gcrt0.c

2000-07-05 Thread Stuart Nicholson

Are you under Unix or Windows 95/98/NT? 

Personally I've been debugging my GCC compiled apps using the
retargetted m68k-palmos-gdb debugger and various versions of POSE (with
and lately without gdbplug) under Windows 95, 98 and NT 4.0 for about a
year and a half now without any problems.

Although at work I use CW R6 and I have to agree debugging is nicer than
gdb (but more prone to crashing ;)).

Stuart Nicholson
Programmer
Firepad, Inc.

-Original Message-
From: Jason Kronz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 5:51 PM
To: Palm Developer Forum
Subject: PalmDebugger Question "Could not read source file gcrt0.c"


I'm getting really tired of not being able to debug using the GNU tools.
It
almost makes me want to start using the CW6 that's sitting on my shelf.
(sitting there because I hate everything about it, except its debugger).

So far I've been "printf" debugging and that's getting lame quick.

I've tried:
gdb,gdb+gdbplug,gdb+gdbplug+emacs,gdb+emacs,palmdebugger(3com
version), and finally palmdebugger(handspring version)

I appear to have gotten farthest with the handspring version of
the PalmDebugger.

I get my code to load to pose, and I get my symbol file to load.
The source displays at least :-).

BUT, when I run my application in POSE the debugger complains:

"Could not read source file gcrt0.c"... Where and what is this?
Isn't it the stub loader gcc code?  Please help! I'm at my whits
end, I think I may have to install CW6 afterall YAK...

Thanks,
-Jason




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

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



Re: PalmDebugger Question Could not read source file gcrt0.c

2000-07-05 Thread John Marshall

Jason Kronz [EMAIL PROTECTED] wrote:
 I'm getting really tired of not being able to debug using the GNU tools.
[...]
 I've tried: gdb


Works fine for me.  Perhaps if you're not too tired you could describe
the problems you're having...

 I appear to have gotten farthest with the handspring version of
 the PalmDebugger.

Yes, the source level support in the Handspring one is slightly less
broken than in the one currently released in the 3.5 SDK.

 "Could not read source file gcrt0.c"... Where and what is this?
 Isn't it the stub loader gcc code?

Yes, so why do you want to debug it?  If you really really want to point
PalmDebugger at this code, you can find crt0.c in the crt directory
of a prc-tools source archive, and it'll probably even be the same one
which you're linking with.  But I suspect all you really need to do is
use the context menu in PalmDebugger's source window to bring up your
application's source code instead of trying to look at the startup code,
which isn't faulty anyway.

John

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



Re: PalmDebugger GCC

2000-05-10 Thread Gabo

[EMAIL PROTECTED] (John Marshall) wrote in 10827@palm-dev-forum:


See news://news.massena.com/q5orcqvt$[EMAIL PROTECTED]

John

I try to copy the file ( in my case cookbook ) to the specific format but 
the palm debugger still give me:
"Error: SymFileAdd: Invalid symbol file: 
C:\desarrollo\cookbook\cookbook.code.1.sym. Bad line count"

I compiled with -g option and copy the output file from m68k-palmos-gcc ( 
the one without extention ).

any ideas?
Gabo



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




PalmDebugger GCC

2000-05-08 Thread Gabo

The PalmOS programming development tools guide say this:

"IMPORTANT: Palm Debugger’s source level debugging is only
available on Windows systems, and is only available for code that
has been built using the GNU gcc compiler for Palm OS."

But I don't find how to generate the .sym file that PalmDebugger need.

Anyone Know how?
Gabo

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




Re: PalmDebugger GCC

2000-05-08 Thread AutoEmul

What compiler are you using and on what platform (OS)?

Alfonso.

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




Re: PalmDebugger GCC

2000-05-08 Thread Gabo

[EMAIL PROTECTED] wrote in 10821@palm-dev-forum:


What compiler are you using and on what platform (OS)?

Alfonso.



PRC-Tools 2.0  win98

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




Re: PalmDebugger GCC

2000-05-08 Thread John Marshall

Gabo [EMAIL PROTECTED] wrote:
 But I don't find how to generate the .sym file that PalmDebugger need.

See news://news.massena.com/q5orcqvt$[EMAIL PROTECTED]

John

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




Newer PalmDebugger Scripts for Palm OS 3.5?

2000-03-30 Thread Doug McFadyen


I've downloaded the latest PalmDebugger (dated Feb 24, 2000), but I've
noticed that the script files, LibraryTraps and SystemTraps are a tad older.
That is, they don't contain some of the new Palm OS 3.5 traps.

I could roll-my-own newer version of these, but I'm wondering if anyone's
already done that?

Thanks,
Doug.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html