Remote GDB

Pierre Ficheux pierre.ficheux at openwide.fr
Thu Jun 14 14:46:31 UTC 2012


Le 14/06/2012 13:43, Sebastian Huber a écrit :
> On 06/14/2012 01:21 PM, Pierre Ficheux wrote:
>> 2- When I add "rtems_gdb_start (0, "/dev/ttyS0");" to a simple "Hello
>> World"
>> program I receive the error:
>>
>> "Creating Task 'GDBd' (status: too many)"
>
> You likely have not enough resources registered (tasks, file
> descriptors, semaphores, etc.). Can you also post your configuration?
>

Looks like RTEMS_gdb_stub_1_5 is obsolete (?). Using 
c/src/lib/libbsp/i386/shared/comm/GDB.HOWTO is much better. It works 
fine with QEMU and pseudo-UART with "-serial pty" + gdb 4.7.

Following config is fine after adding GDB glue (gdb_glue.c).

/* configuration information */

#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER

#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_MAXIMUM_TASKS 10

#define CONFIGURE_INIT
#include <rtems/confdefs.h>
/* end of file */



Thx

-- 
Pierre FICHEUX  -/- CTO OWI, France -\- pierre.ficheux at openwide.fr
                                          http://ingenierie.openwide.fr
                                          http://www.ficheux.org
I would love to change the world, but they won't give me the source code





More information about the users mailing list