public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Should GBD recognize ECOS Threads ?
@ 2001-08-05  9:30 Raymund Hofmann
  2001-08-05 18:03 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Raymund Hofmann @ 2001-08-05  9:30 UTC (permalink / raw)
  To: ecos-discuss

Should GDB be aware of the threads in ECOS ?
In my experiments so far, for example running the example : "twothreads",
GDB seems not to list the created threads.
In the configuration by default "CYGACC_CALL_IF_DBG_SYSCALL_SET" is checked,
but the entry
CYGNUM_CALL_IF_DBG_SYSCALL in the virtual vector table points to :
"nop_service" int the rom Monitor, before and after downloading and starting
a ram application.
Am i guessing right that this is currently not implemented ?

Raymund Hofmann



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Should GBD recognize ECOS Threads ?
  2001-08-05  9:30 [ECOS] Should GBD recognize ECOS Threads ? Raymund Hofmann
@ 2001-08-05 18:03 ` Jonathan Larmour
  2001-08-06  4:00   ` RAY Electronic-Design GmbH
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2001-08-05 18:03 UTC (permalink / raw)
  To: Raymund Hofmann; +Cc: ecos-discuss

Raymund Hofmann wrote:
> 
> Should GDB be aware of the threads in ECOS ?
> In my experiments so far, for example running the example : "twothreads",
> GDB seems not to list the created threads.
> In the configuration by default "CYGACC_CALL_IF_DBG_SYSCALL_SET" is checked,
> but the entry
> CYGNUM_CALL_IF_DBG_SYSCALL in the virtual vector table points to :
> "nop_service" int the rom Monitor, before and after downloading and starting
> a ram application.
> Am i guessing right that this is currently not implemented ?

Yes GDB should be aware of eCos threads, but without basic information we
can't help you work out why not. What is your ROM monitor (if not RedBoot,
what age is it as well)? And what is your platform?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Should GBD recognize ECOS Threads ?
  2001-08-05 18:03 ` Jonathan Larmour
@ 2001-08-06  4:00   ` RAY Electronic-Design GmbH
  2001-08-06  9:22     ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: RAY Electronic-Design GmbH @ 2001-08-06  4:00 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Jonathan Larmour

My Redboot ROM monitor is a build from last weeks cvs.
Platform is Triscend A7 eval Board, i adapted a 1.3.1 Board-Package from
Triscend to the actual ecos CVS.

Raymund Hofmann

----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "Raymund Hofmann" <rhofmann@raygmbh.de>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, August 06, 2001 2:04 AM
Subject: Re: [ECOS] Should GBD recognize ECOS Threads ?


> Raymund Hofmann wrote:
> >
> > Should GDB be aware of the threads in ECOS ?
> > In my experiments so far, for example running the example :
"twothreads",
> > GDB seems not to list the created threads.
> > In the configuration by default "CYGACC_CALL_IF_DBG_SYSCALL_SET" is
checked,
> > but the entry
> > CYGNUM_CALL_IF_DBG_SYSCALL in the virtual vector table points to :
> > "nop_service" int the rom Monitor, before and after downloading and
starting
> > a ram application.
> > Am i guessing right that this is currently not implemented ?
>
> Yes GDB should be aware of eCos threads, but without basic information we
> can't help you work out why not. What is your ROM monitor (if not RedBoot,
> what age is it as well)? And what is your platform?
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Should GBD recognize ECOS Threads ?
  2001-08-06  4:00   ` RAY Electronic-Design GmbH
@ 2001-08-06  9:22     ` Jonathan Larmour
  2001-08-07  4:14       ` RAY Electronic-Design GmbH
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2001-08-06  9:22 UTC (permalink / raw)
  To: RAY Electronic-Design GmbH; +Cc: ecos-discuss

RAY Electronic-Design GmbH wrote:
> 
> My Redboot ROM monitor is a build from last weeks cvs.
> Platform is Triscend A7 eval Board, i adapted a 1.3.1 Board-Package from
> Triscend to the actual ecos CVS.

In that case, there is probably some initialization of the virtual vector
interface that you missed, I would guess. Perhaps compare against another
HAL that supports virtual vectors (note that not all do, but most do and
all new ones do).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Should GBD recognize ECOS Threads ?
  2001-08-06  9:22     ` Jonathan Larmour
@ 2001-08-07  4:14       ` RAY Electronic-Design GmbH
  0 siblings, 0 replies; 5+ messages in thread
From: RAY Electronic-Design GmbH @ 2001-08-07  4:14 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Jonathan Larmour

The virtual vector table was not fully initialized, because there are two
configuration flags:

CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT

and both have to be checked, but only the first was as I tried.

It takes some time for me to figure out the different configuration options
and how they are used...

Raymund Hofmann


----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "RAY Electronic-Design GmbH" <info@raygmbh.de>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, August 06, 2001 5:22 PM
Subject: Re: [ECOS] Should GBD recognize ECOS Threads ?


> RAY Electronic-Design GmbH wrote:
> >
> > My Redboot ROM monitor is a build from last weeks cvs.
> > Platform is Triscend A7 eval Board, i adapted a 1.3.1 Board-Package from
> > Triscend to the actual ecos CVS.
>
> In that case, there is probably some initialization of the virtual vector
> interface that you missed, I would guess. Perhaps compare against another
> HAL that supports virtual vectors (note that not all do, but most do and
> all new ones do).
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-07  4:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-05  9:30 [ECOS] Should GBD recognize ECOS Threads ? Raymund Hofmann
2001-08-05 18:03 ` Jonathan Larmour
2001-08-06  4:00   ` RAY Electronic-Design GmbH
2001-08-06  9:22     ` Jonathan Larmour
2001-08-07  4:14       ` RAY Electronic-Design GmbH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).