This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: gdb problem


Hi,

>> The output on the console is
>> 
>> Init device '/dev/ttydiag'
>> Init tty channel: 38170
>> Init device '/dev/haldiag'
>> HAL/diag SERIAL init
>
>Try disabling these messages. The ethernet gdb stub can get itself
>into knots if it is asked to output messages too soon during booting. 

I have disabled the messages but still the same response, no messages on
console.

GNU gdb 5.3 (eCosCentric)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-eabi"...
(gdb) target remote 192.168.20.238:9000
Remote debugging using 192.168.20.238:9000
0xfff16534 in ?? ()
(gdb) load
Loading section .text, size 0x17068 lma 0x20000
Loading section .rodata, size 0xaa0 lma 0x37068
Loading section .data, size 0x754 lma 0x37b08
Start address 0x20000, load size 98908
Transfer rate: 65938 bits/sec, 507 bytes/write.
(gdb) break main
Breakpoint 1 at 0x205f0: file hello.c, line 5.
(gdb) continue
Continuing.


and network still works(checked with ping).

The follwing hal components are included in the RAM application


#ifndef CYGONCE_PKGCONF_HAL_H
#define CYGONCE_PKGCONF_HAL_H
/*
 * File <pkgconf/hal.h>
 *
 * This file is generated automatically by the configuration
 * system. It should not be edited. Any changes to this file
 * may be overwritten.
 */

/***** proc output start *****/
#include <pkgconf/system.h>
#include CYGBLD_HAL_TARGET_H
#ifdef   CYGBLD_HAL_VARIANT_H
#include CYGBLD_HAL_VARIANT_H
#endif
#include CYGBLD_HAL_PLATFORM_H
/****** proc output end ******/
#define CYGPKG_HAL_COMMON 1
#define CYGFUN_HAL_COMMON_KERNEL_SUPPORT 1
#define CYGPKG_HAL_EXCEPTIONS 1
#define CYGINT_HAL_SUPPORTS_MMU_TABLES 0
#define CYGINT_HAL_SUPPORTS_MMU_TABLES_0
#define CYGPKG_HAL_COMMON_INTERRUPTS 1
#define CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE 4096
#define CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE_4096
#define CYGPKG_HAL_COMMON_CONTEXT 1
#define CYGSEM_HAL_ENABLE_DCACHE_ON_STARTUP 1
#define CYGSEM_HAL_DCACHE_STARTUP_MODE COPYBACK
#define CYGSEM_HAL_DCACHE_STARTUP_MODE_COPYBACK
#define CYGSEM_HAL_ENABLE_ICACHE_ON_STARTUP 1
#define CYGPKG_HAL_DEBUG 1
#define CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT 1
#define CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES 0
#define CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES_0
#define CYGNUM_HAL_DEBUG_GDB_PROTOCOL_TIMEOUT 500
#define CYGNUM_HAL_DEBUG_GDB_PROTOCOL_TIMEOUT_500
#define CYGDBG_HAL_CRCTABLE_LOCATION RAM
#define CYGDBG_HAL_CRCTABLE_LOCATION_RAM
#define CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_RESET 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_VERSION 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_DELAY_US 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_CACHE 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_DATA 1
#define CYGSEM_HAL_VIRTUAL_VECTOR_DIAG 1
#define CYGINT_HAL_PLF_IF_INIT 0
#define CYGINT_HAL_PLF_IF_INIT_0
#define CYGINT_HAL_PLF_IF_IDE 0
#define CYGINT_HAL_PLF_IF_IDE_0

#endif


Is there any mistake in the configuration? Kindly let me know if I miss to
provide any required information. 

Any help is highly appreciated.

Thank you,
Ram


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]