Jump to content


Photo

Caanoo Gdb Problem


  • Please log in to reply
5 replies to this topic

#1 captainchris

captainchris

    Member

  • Members
  • PipPip
  • 12 posts

Posted 20 February 2012 - 08:20 PM

Hi everybody,

I've a problem with my CAANOO.When I debug my prog, the screen of my CAANOO bug.
The control work but i can't use my screen to debug.

here's a screenshot:
http://captainchrisprod.free.fr/Upload/FILE0001.JPG

Thx

Edited by captainchris, 20 February 2012 - 08:34 PM.


#2 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 22 February 2012 - 08:54 PM

Is this only when you run gdb? Are you running it over the serial line shell?

If you are running over something like terminal2x or some other app then it cant work that way.
Looks like the screen was setup for the wrong mode when your app started to run.

#3 captainchris

captainchris

    Member

  • Members
  • PipPip
  • 12 posts

Posted 24 February 2012 - 04:42 PM

Hi Pickle,

Thank's for your reply.

Yes , i run gdb and when i start application the screen bug.
To run gdb , I connect the caanoo to my computer with SSh , and i run gdb in command line.

I initialize my screen in my SDL App with:
screen = SDL_SetVideoMode(320,240,16,SDL_SWSURFACE

Chris.

#4 hmn

hmn

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 168 posts

Posted 24 February 2012 - 07:00 PM

Do you terminate the menu application before running your program (ie "killall gp2xmenu")?

Edited by hmn, 24 February 2012 - 07:01 PM.


#5 captainchris

captainchris

    Member

  • Members
  • PipPip
  • 12 posts

Posted 25 February 2012 - 07:34 AM

Okay hmn , it work, thank you very much.

#6 captainchris

captainchris

    Member

  • Members
  • PipPip
  • 12 posts

Posted 25 February 2012 - 07:44 AM

Hi hmn, okay it work.
Thank you everybody