[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3829: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3831: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3832: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3833: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
lxdream.org :: View topic - lxdream with gdb
lxdream.org
http://www.lxdream.org/forums/

lxdream with gdb
http://www.lxdream.org/forums/viewtopic.php?f=4&t=220
Page 1 of 1

Author:  Guaripolo [ Fri Aug 13, 2010 10:16 pm ]
Post subject:  lxdream with gdb

hi! i've read that lxdream now supports gdb debugging, so i'm trying to use this feature, but i'm unable to do it. I've tried the following:

lxdream -g 2000

sh-elf-gdb test.elf
target remote localhost:2000


but it says that the connection was reset by peer. ¿am i doing it wrong? thanks

Author:  nkeynes [ Mon Aug 23, 2010 9:28 pm ]
Post subject:  Re: lxdream with gdb

Well it works for me 8)

You probably need to do
lxdream -n test.elf -g 2000

to actually load the program, but either way gdb should still connect. What platform are you running on? (and which version of gdb are you using?)

Cheers,
Nathan

Author:  Guaripolo [ Sun Aug 29, 2010 6:46 pm ]
Post subject:  Re: lxdream with gdb

well, i'm using ubuntu 10.04 with gdb 7.0.1. The gdb is from the kallistios toolchain.

Author:  nkeynes [ Tue Aug 31, 2010 11:55 am ]
Post subject:  Re: lxdream with gdb


Author:  Guaripolo [ Tue Sep 07, 2010 12:01 am ]
Post subject:  Re: lxdream with gdb

i'm using release 1109, because the lastest give me some opengl errors.
In another order of things, there's a port that gives me some strange behaviour:

http://www.dreamcast.es/descargas/iberd ... dc-0.1.zip

the thing is that in the intro the ships starts at good speed and then it goes frame by frame (slow). In the real hardware it works fine. Please, if you need the source code just let me know and i will upload. Thanks!

Author:  nkeynes [ Tue Sep 07, 2010 11:59 am ]
Post subject:  Re: lxdream with gdb


Author:  Guaripolo [ Tue Sep 07, 2010 2:49 pm ]
Post subject:  Re: lxdream with gdb

well, i'm just porting it, and SDL in dreamcast manages Vsync at his own. I've tried enabling and disabling vsync, but nothing changes.

Chui's dreamcast SDL has this function to enable or disable vsync:

SDL_DC_VerticalWait(SDL_TRUE);

I've disabled the frame limit in the game, it was slowing down things in real hw, i will try to enable it, maybe is something with that.

I will try r1113. About gdb, maybe it's user permission related, when i sudo it, gdb throws timeouts, but no broken pipes or connections reseted.

Author:  nkeynes [ Wed Sep 08, 2010 9:09 am ]
Post subject:  Re: lxdream with gdb


Author:  Guaripolo [ Sat Sep 11, 2010 3:08 am ]
Post subject:  Re: lxdream with gdb

seems that the game limits the fps with this:

while (SDL_GetTicks() < (frameLimit + 16))
{
Do nothing. If we were to insert an SDL_Delay(1) in here
then we would actually lose around 10 frames per second!!
}
frameLimit = SDL_GetTicks();

so i've disabled it, now the game run (too fast).

Author:  nkeynes [ Mon Sep 13, 2010 11:07 am ]
Post subject:  Re: lxdream with gdb


Author:  nkeynes [ Tue Sep 14, 2010 11:12 am ]
Post subject:  Re: lxdream with gdb


Author:  Guaripolo [ Wed Sep 15, 2010 1:09 am ]
Post subject:  Re: lxdream with gdb

yep, that's my fault...thanks a lot!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/